Swap the Redis Cache client

This commit is contained in:
Aaron Kable
2022-02-02 04:12:04 +00:00
committed by Ariel Rin
parent 8351bd2fa3
commit 297da44a5a
8 changed files with 24 additions and 32 deletions

View File

@@ -33,11 +33,8 @@ ROOT_URLCONF = 'tests.urls'
CACHES = {
"default": {
"BACKEND": "redis_cache.RedisCache",
"LOCATION": "localhost:6379",
"OPTIONS": {
"DB": 1,
}
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://127.0.0.1:6379/1"
}
}

View File

@@ -14,11 +14,8 @@ ROOT_URLCONF = 'tests.urls'
CACHES = {
"default": {
"BACKEND": "redis_cache.RedisCache",
"LOCATION": "localhost:6379",
"OPTIONS": {
"DB": 1,
}
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://127.0.0.1:6379/1"
}
}