From 1d60eb13a8cb5c484d60bbb026926a51d654798e Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Thu, 13 Sep 2018 23:19:55 +0200 Subject: [PATCH] Chore - Add warning for python2.7 users Python 2.7 is becoming increasingly deprecated. --- settings.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/settings.py b/settings.py index 9bac3571..dad0fe02 100644 --- a/settings.py +++ b/settings.py @@ -18,6 +18,13 @@ " remove django-rosetta from the installed apps in the settings." "\033[39m") +print("\033[33m" + "This version permit to use python 2.7 by using the last compatible " + "django version and last compatible django-survey-and-report version. But" + " you won't get the latest updates. Python 3 is available since 2008. Yo" + "u should consider using python3+ and the latest version of this project." + "\033[39m") + DEBUG = True ROOT = os.path.dirname(os.path.abspath(__file__)) CSV_DIR = os.path.join(ROOT, "csv")