Skip to content

Commit

Permalink
Chore - Add warning for python2.7 users
Browse files Browse the repository at this point in the history
Python 2.7 is becoming increasingly deprecated.
  • Loading branch information
Pierre-Sassoulas committed Sep 13, 2018
1 parent 89086a4 commit 1d60eb1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1d60eb1

Please sign in to comment.