We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb8799b commit f1df863Copy full SHA for f1df863
codeforlife/settings/django.py
@@ -17,6 +17,7 @@
17
from ..types import JsonDict
18
from .custom import (
19
ENV,
20
+ REDIS_URL,
21
SERVICE_BASE_DIR,
22
SERVICE_BASE_URL,
23
SERVICE_DOMAIN,
@@ -351,3 +352,13 @@ def get_databases():
351
352
}
353
),
354
355
+
356
+# Caches
357
+# https://docs.djangoproject.com/en/4.2/topics/cache/
358
359
+CACHES = {
360
+ "default": {
361
+ "BACKEND": "django.core.cache.backends.redis.RedisCache",
362
+ "LOCATION": REDIS_URL,
363
+ }
364
+}
0 commit comments