Switch from django-redis-cache to django-redis, which does the same thing but is actively maintained
This commit is contained in:
parent
9d30534d1d
commit
0f95cfa0bc
3 changed files with 8 additions and 8 deletions
|
@ -138,11 +138,10 @@ WSGI_APPLICATION = 'lemoncurry.wsgi.application'
|
|||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'redis_cache.RedisCache',
|
||||
'LOCATION': '127.0.0.1:6380',
|
||||
'BACKEND': 'django_redis.cache.RedisCache',
|
||||
'LOCATION': 'redis://127.0.0.1:6380/0',
|
||||
'KEY_PREFIX': 'lemoncurry',
|
||||
'OPTIONS': {
|
||||
'DB': 0,
|
||||
'PARSER_CLASS': 'redis.connection.HiredisParser',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue