custom_settings: remove cachalot for now

This commit is contained in:
Benjamin Dauvergne 2018-09-27 10:40:32 +02:00
parent 8a07c79209
commit 2bf3349fe5
1 changed files with 0 additions and 11 deletions

View File

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