added image and comments to know when dev or live stage is used
This commit is contained in:
parent
b5eb32c843
commit
00c10dbaa8
BIN
application/static/images/efi.jpg
Normal file
BIN
application/static/images/efi.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
@ -160,8 +160,10 @@ if DEVELOPMENT:
|
|||||||
AUTHENTICATION_BACKENDS = [
|
AUTHENTICATION_BACKENDS = [
|
||||||
'django.contrib.auth.backends.ModelBackend',
|
'django.contrib.auth.backends.ModelBackend',
|
||||||
]
|
]
|
||||||
|
print(" --- Development stage --- ")
|
||||||
else:
|
else:
|
||||||
AUTHENTICATION_BACKENDS = [
|
AUTHENTICATION_BACKENDS = [
|
||||||
'django.contrib.auth.backends.ModelBackend',
|
'django.contrib.auth.backends.ModelBackend',
|
||||||
'medinf.ldap_backend.LdapBackend',
|
'medinf.ldap_backend.LdapBackend',
|
||||||
]
|
]
|
||||||
|
print(" --- Live stage --- ")
|
Loading…
x
Reference in New Issue
Block a user