1
0
Fork 0

Switch from django-redis to the built-in Redis cache backend

This commit is contained in:
Bart Schuurmans 2024-04-01 22:07:01 +02:00
parent 03ac846b5d
commit 2896219e88
2 changed files with 2 additions and 5 deletions

View file

@ -257,11 +257,8 @@ if env.bool("USE_DUMMY_CACHE", False):
else:
CACHES = {
"default": {
"BACKEND": "django_redis.cache.RedisCache",
"BACKEND": "django.core.cache.backends.redis.RedisCache",
"LOCATION": REDIS_ACTIVITY_URL,
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
},
},
"file_resubmit": {
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",