fixed loading local_settings and django version in requirements

This commit is contained in:
smile 2018-10-03 22:17:33 +02:00
parent bd00bc03ce
commit 1c51a7197f
2 changed files with 3 additions and 2 deletions

View file

@ -249,7 +249,8 @@ SESSION_COOKIE_AGE = 600
LOGIN_URL = '/account/login/'
#LOCALE_PATHS =
print('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxXX')
try:
from local_settings import *
from cbmi.local_settings import *
except ImportError as e:
print('Unable to load local_settings.py:', e)

View file

@ -1,4 +1,4 @@
Django>=1.11.16
Django==1.11.16
#MySQL-python==1.2.5
django-auth-ldap>=1.7.0
django-json-rpc>=0.7.2