Browse Source

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

newsletter
Esther Kleinhenz 6 years ago
parent
commit
00c10dbaa8
2 changed files with 3 additions and 1 deletions
  1. BIN
      application/static/images/efi.jpg
  2. 3
    1
      mysite/settings.py

BIN
application/static/images/efi.jpg View File


+ 3
- 1
mysite/settings.py 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 --- ")

Loading…
Cancel
Save