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

This commit is contained in:
Frédéric Péters 2018-08-09 12:32:16 +02:00
parent 73a2c5ac15
commit 204722f788
2 changed files with 1 additions and 3 deletions

View File

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

View File

@ -125,6 +125,7 @@ LOGOUT_URL = '/logout/'
# Authentication settings
try:
import mellon
INSTALLED_APPS = INSTALLED_APPS + ('mellon',)
except ImportError:
mellon = None