aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/settings/base.py')
-rw-r--r--config/settings/base.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/settings/base.py b/config/settings/base.py
index 9c6183c..157926b 100644
--- a/config/settings/base.py
+++ b/config/settings/base.py
@@ -359,3 +359,10 @@ AWS_S3_ENDPOINT_URL = env("SPACES_ENDPOINT_URL")
MAILGUN_API_KEY = env("MAILGUN_API_KEY")
MAILGUN_SENDER_DOMAIN = env("MAILGUN_SENDER_DOMAIN")
MAILGUN_API_URL = env("MAILGUN_API_URL", default="https://api.eu.mailgun.net/v3")
+
+CACHES = {
+ "default": {
+ "BACKEND": "django.core.cache.backends.db.DatabaseCache",
+ "LOCATION": "rate_limit_cache",
+ },
+}