activate django-mellon support by default (#6759)
This commit is contained in:
parent
1d9f54f787
commit
cd367dca1b
3
control
3
control
|
@ -33,7 +33,8 @@ Depends: ${misc:Depends}, adduser,
|
|||
python-django-tenant-schemas,
|
||||
python-psycopg2,
|
||||
python-memcache,
|
||||
python-django-mellon,
|
||||
gunicorn
|
||||
Recommends: python-django-mellon, nginx, postgresql, memcached
|
||||
Recommends: nginx, postgresql, memcached
|
||||
Description: Uniform access to multiple data sources and services
|
||||
|
||||
|
|
|
@ -16,6 +16,9 @@ ADMINS = (
|
|||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = file('/etc/%s/secret' % PROJECT_NAME).read()
|
||||
|
||||
# SAML2 authentication
|
||||
INSTALLED_APPS += ('mellon',)
|
||||
|
||||
ETC_DIR = '/etc/%s' % PROJECT_NAME
|
||||
VAR_DIR = '/var/lib/%s' % PROJECT_NAME
|
||||
|
||||
|
@ -64,6 +67,9 @@ MIDDLEWARE_CLASSES = (
|
|||
|
||||
DEFAULT_FILE_STORAGE = 'hobo.multitenant.storage.TenantFileSystemStorage'
|
||||
|
||||
# SAML2: search IdP in <tenant>
|
||||
MELLON_ADAPTER = ('hobo.multitenant.mellon.MellonAdapter',)
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'hobo.multitenant.cache.TenantCache',
|
||||
|
|
Loading…
Reference in New Issue