From 563361a676abf5a3f0b8f0b885ebd2a543bd5f2c Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 2 Aug 2012 15:21:23 +0200 Subject: [PATCH] Added small warning for using the django test server (which of course knows nothing about running the web client). --- game/manage.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/game/manage.py b/game/manage.py index 5d115b722d..fe54d4246f 100755 --- a/game/manage.py +++ b/game/manage.py @@ -165,5 +165,13 @@ if __name__ == "__main__": # run the standard django manager, if dependencies match from src.utils.utils import 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 execute_manager(settings)