general: always declare django-mellon if it's available (#23362)

This commit is contained in:
Frédéric Péters 2018-04-24 10:09:10 +02:00
parent 2772ed2cef
commit 8d96bf9656
3 changed files with 1 additions and 4 deletions

View File

@ -136,6 +136,7 @@ except ImportError:
mellon = None
if mellon is not None:
INSTALLED_APPS += ('mellon',)
AUTHENTICATION_BACKENDS = (
'mellon.backends.SAMLBackend',
'django.contrib.auth.backends.ModelBackend',

View File

@ -4,9 +4,6 @@ import os
PROJECT_NAME = 'chrono'
# SAML2 authentication
INSTALLED_APPS += ('mellon',)
#
# hobotization (multitenant)
#

View File

@ -1,3 +1,2 @@
TIME_ZONE = 'Europe/Paris'
LANGUAGE_CODE = 'en-us'
INSTALLED_APPS = INSTALLED_APPS + ('mellon',)