Fixe un bug avec RedisCache

This commit is contained in:
Tom Hubrecht 2021-04-07 14:07:31 +02:00
parent d3a10fbff7
commit 1f52f70c25

View file

@ -36,7 +36,7 @@ STATIC_ROOT = os.path.join(
CACHES = { CACHES = {
"default": { "default": {
"BACKEND": "redis_cache.RedisCache", "BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://:{passwd}@{host}:{port}/{db}".format( "LOCATION": "redis://:{passwd}@{host}:{port}/{db}".format(
passwd=REDIS_PASSWD, host=REDIS_HOST, port=REDIS_PORT, db=REDIS_DB passwd=REDIS_PASSWD, host=REDIS_HOST, port=REDIS_PORT, db=REDIS_DB
), ),