@@ -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 --- ") |