Fixe un bug avec RedisCache
This commit is contained in:
parent
d3a10fbff7
commit
1f52f70c25
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue