Added small warning for using the django test server (which of course knows nothing
about running the web client).
This commit is contained in:
parent
9921d9b28c
commit
563361a676
1 changed files with 8 additions and 0 deletions
|
|
@ -165,5 +165,13 @@ if __name__ == "__main__":
|
||||||
# run the standard django manager, if dependencies match
|
# run the standard django manager, if dependencies match
|
||||||
from src.utils.utils import check_evennia_dependencies
|
from src.utils.utils import check_evennia_dependencies
|
||||||
if check_evennia_dependencies():
|
if check_evennia_dependencies():
|
||||||
|
if sys.argv[1] in ('runserver', 'testserver'):
|
||||||
|
print """
|
||||||
|
WARNING: There is no need to run the Django development
|
||||||
|
webserver to test out Evennia web features (the web client
|
||||||
|
will in fact not work since the Django test server knows
|
||||||
|
nothing about MUDs). Instead, just start Evennia with the
|
||||||
|
webserver component active (this is the default).
|
||||||
|
"""
|
||||||
from django.core.management import execute_manager
|
from django.core.management import execute_manager
|
||||||
execute_manager(settings)
|
execute_manager(settings)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue