diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index 1db559c5..5467b559 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -255,8 +255,8 @@ CMS_PLACEHOLDER_CONF = { CACHES = { 'default': { - 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', - 'LOCATION': 'unix:/tmp/memcached.sock', + 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', + 'LOCATION': '127.0.0.1:11211', } } diff --git a/requirements.debian.txt b/requirements.debian.txt index 14452631..3a03540d 100644 --- a/requirements.debian.txt +++ b/requirements.debian.txt @@ -45,3 +45,5 @@ libwebp-dev tcl8.6-dev tk8.6-dev python-tk +libmemcached +libmemcached-dev diff --git a/requirements.txt b/requirements.txt index fe39b405..3257026f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -55,3 +55,6 @@ gevent>=1.1a2 # djangocms-page-meta djangocms-page-meta + +# memcache +pylibmc