added image and comments to know when dev or live stage is used

This commit is contained in:
Esther Kleinhenz 2018-06-28 12:58:03 +02:00
parent b5eb32c843
commit 00c10dbaa8
2 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -160,8 +160,10 @@ if DEVELOPMENT:
AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',
]
print(" --- Development stage --- ")
else:
AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',
'medinf.ldap_backend.LdapBackend',
]
]
print(" --- Live stage --- ")