From cfc575f360b00753fff72c7ac9ddc74dc1a0ed79 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 24 Mar 2013 11:04:27 +0100 Subject: [PATCH] Added check for django 1.4+ to upstart checks. --- src/utils/utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/utils/utils.py b/src/utils/utils.py index efbcb58e62..d261f0f533 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -715,7 +715,7 @@ def check_evennia_dependencies(): # defining the requirements python_min = '2.6' twisted_min = '10.0' - django_min = '1.2' + django_min = '1.4' south_min = '0.7' nt_stop_python_min = '2.7' @@ -727,8 +727,9 @@ def check_evennia_dependencies(): if pversion < python_min: errstring += "\n WARNING: Python %s used. Evennia recommends version %s or higher (but not 3.x)." % (pversion, python_min) if os.name == 'nt' and pversion < nt_stop_python_min: - errstring += "\n WARNING: Windows requires Python %s or higher in order to restart/stop the server from the command line." - errstring += "\n (You need to restart/stop from inside the game.)" % nt_stop_python_min + errstring += "\n WARNING: Python %s used. Windows requires Python %s or higher in order to" % (pversion, nt_stop_python_min) + errstring += " restart/stop the server from the command line." + errstring += "\n (You need to restart/stop from inside the game.)" # Twisted try: import twisted