fixed loading local_settings and django version in requirements
This commit is contained in:
parent
bd00bc03ce
commit
1c51a7197f
2 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue