From ff742091c5921db7d5cb242f2526c3a26416c70d Mon Sep 17 00:00:00 2001 From: rscnt Date: Wed, 27 May 2015 23:22:20 -0600 Subject: [PATCH] settings: added memcached config. Signed-off-by: rscnt --- dynamicweb/settings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index 2cece707..7a803dec 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -224,6 +224,12 @@ CMS_PLACEHOLDER_CONF = { } } +CACHES = { + 'default': { + 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', + 'LOCATION': 'unix:/tmp/memcached.sock', + } +} try: from dynamicweb.local.local_settings import *