custom_settings: remove cachalot for now
This commit is contained in:
parent
8a07c79209
commit
2bf3349fe5
|
@ -54,17 +54,6 @@ A2_CUT_PARTNERS = [
|
|||
}
|
||||
]
|
||||
|
||||
if ('Memcached' in CACHES['default']['BACKEND'] or 'Memcached' in
|
||||
CACHES['default'].get('REAL_BACKEND', '')):
|
||||
try:
|
||||
import cachalot
|
||||
INSTALLED_APPS += ('cachalot',)
|
||||
from cachalot import settings
|
||||
settings.SUPPORTED_DATABASE_ENGINES.add('tenant_schemas.postgresql_backend')
|
||||
settings.SUPPORTED_CACHE_BACKENDS.add('hobo.multitenant.cache.TenantCache')
|
||||
except ImportError as e:
|
||||
print 'canot load django-cachalot', e
|
||||
|
||||
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
|
||||
|
||||
# 48h pour les mails de reset de mot de passe
|
||||
|
|
Loading…
Reference in New Issue