Switch to pymemcache
The MemcacheCache backend is deprecated in Django and the use of PymemcacheCache or PyLibMCCache is recommended.
This commit is contained in:
parent
c1e0f3ac7f
commit
235afa34bf
@ -34,7 +34,7 @@ DATABASES = {
|
|||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
'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',
|
# 'LOCATION': '127.0.0.1:11211',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
pyinotify==0.9.6
|
pyinotify==0.9.6
|
||||||
python-memcached==1.59
|
pymemcache==3.5.0
|
||||||
|
Loading…
Reference in New Issue
Block a user