From aba6f947fad0aad39960ee053798558112097b5f Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 5 Sep 2014 10:08:27 +0200 Subject: [PATCH] Added django 1.7+ warning to version checker. --- src/utils/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/utils.py b/src/utils/utils.py index 7c8e2c7a4..07068e6d1 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -664,6 +664,10 @@ def check_evennia_dependencies(): no_error = False elif django_min <= dversion < django_rec: errstring += "\n NOTE: Django %s found. This will work, but v%s is recommended for production." % (dversion, django_rec) + elif dversion_main >= '1.7': + errstring += "\n NOTE: Django 1.7+ found. Evennia is not yet tested with this version of django and due " \ + "\n to the changes to migrations in 1.7 it is not likely to work yet. Revert to 1.6+ if you have " \ + "\n any problems." elif django_rec < dversion_main: errstring += "\n NOTE: Django %s found. This is newer than Evennia's recommended version (v%s). It will" errstring += "\n probably work, but may be new enough not to be fully tested yet. Report any issues." % (dversion, django_rec)