diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 08:04:32 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 08:04:32 +0300 |
commit | 99186146e87c4159513bed25a3062f1cf73e212d (patch) | |
tree | 43210f41b97cbf34c60f5be4e1a9ae5ccfd24043 | |
parent | 0c333f25ed82aa763b4a72eb039b2a6fc2e7d4f0 (diff) | |
download | Servo-99186146e87c4159513bed25a3062f1cf73e212d.tar.gz Servo-99186146e87c4159513bed25a3062f1cf73e212d.tar.bz2 Servo-99186146e87c4159513bed25a3062f1cf73e212d.zip |
Switch to pymemcache
-rw-r--r-- | requirements.pip | 2 | ||||
-rw-r--r-- | 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_' |