Switch from django-redis-cache to django-redis, which does the same thing but is actively maintained

This commit is contained in:
Danielle McLean 2018-04-24 12:45:05 +10:00
parent 9d30534d1d
commit 0f95cfa0bc
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240
3 changed files with 8 additions and 8 deletions

View file

@ -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',
},
}