django-pylibmc: Add dependancy and use as cache backend for memcached.

This commit is contained in:
Aditya Bansal
2018-06-11 07:49:16 +05:30
committed by Tim Abbott
parent ba55d22fdb
commit 998fb038a9
5 changed files with 7 additions and 2 deletions

View File

@@ -613,7 +613,7 @@ SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
'BACKEND': 'django_pylibmc.memcached.PyLibMCCache',
'LOCATION': MEMCACHED_LOCATION,
'TIMEOUT': 3600,
'OPTIONS': {