From 086e72c5c64c3df9103607e7c25e365318894645 Mon Sep 17 00:00:00 2001 From: rscnt Date: Tue, 15 Sep 2015 10:05:46 -0600 Subject: [PATCH] settings: python-memcache -> pylibmc --- dynamicweb/settings.py | 4 ++-- requirements.debian.txt | 2 ++ requirements.txt | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) 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