Added compatibility with Django 1.5. New minimum version is 1.4.

This commit is contained in:
Kelketek 2013-03-23 14:20:41 -05:00
parent 0f2762d5f2
commit 9d0b8b5fe7
8 changed files with 22 additions and 24 deletions

View file

@ -134,5 +134,5 @@ if __name__ == "__main__":
nothing about MUDs). Instead, just start Evennia with the
webserver component active (this is the default).
"""
from django.core.management import execute_manager
execute_manager(settings)
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)