activate django-mellon support by default (#6759)

This commit is contained in:
Jérôme Schneider 2015-03-17 18:53:47 +01:00
parent 1d9f54f787
commit cd367dca1b
2 changed files with 8 additions and 1 deletions

View File

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

View File

@ -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',