From 99186146e87c4159513bed25a3062f1cf73e212d Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 13 May 2021 08:04:32 +0300 Subject: Switch to pymemcache --- requirements.pip | 2 +- settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.pip b/requirements.pip index eb46fe6..87249c2 100644 --- a/requirements.pip +++ b/requirements.pip @@ -6,7 +6,7 @@ django-bootstrap3 djangorestframework babel markdown -python-memcached +pymemcache psycopg2-binary Pillow reportlab diff --git a/settings.py b/settings.py index 48b6b8e..034a739 100644 --- a/settings.py +++ b/settings.py @@ -234,7 +234,7 @@ WKHTMLTOPDF_CMD_OPTIONS = { from local_settings import * CACHES['comptia'] = { - 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', + 'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache', 'LOCATION': '127.0.0.1:11211', 'TIMEOUT': 60 * 60 * 24, 'KEY_PREFIX': 'comptia_' -- cgit v1.2.3