Switch to pymemcache

The MemcacheCache backend is deprecated in Django and the use of
PymemcacheCache or PyLibMCCache is recommended.
This commit is contained in:
Jelle van der Waa 2021-09-12 11:51:50 +02:00
parent c1e0f3ac7f
commit 235afa34bf
No known key found for this signature in database
GPG Key ID: C06086337C50773E
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ DATABASES = {
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
# 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
# 'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
# 'LOCATION': '127.0.0.1:11211',
}
}

View File

@ -1,3 +1,3 @@
-r requirements.txt
pyinotify==0.9.6
python-memcached==1.59
pymemcache==3.5.0