general: always declare django-mellon if it's available (#25641)
This commit is contained in:
parent
73a2c5ac15
commit
204722f788
|
@ -4,9 +4,6 @@ import os
|
|||
|
||||
PROJECT_NAME = 'fargo'
|
||||
|
||||
# SAML2 authentication
|
||||
INSTALLED_APPS += ('mellon',)
|
||||
|
||||
#
|
||||
# hobotization (multitenant)
|
||||
#
|
||||
|
|
|
@ -125,6 +125,7 @@ LOGOUT_URL = '/logout/'
|
|||
# Authentication settings
|
||||
try:
|
||||
import mellon
|
||||
INSTALLED_APPS = INSTALLED_APPS + ('mellon',)
|
||||
except ImportError:
|
||||
mellon = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue