mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
updated cache
This commit is contained in:
1 parent
d9ab80e096
commit
cec7410249
2 files changed
+19
-6
No files matched your search
@@ -94,6 +94,18 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
# Cache configuration for Ratelimiting
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
|
||||
'LOCATION': os.path.join(BASE_DIR, 'django_cache'),
|
||||
}
|
||||
}
|
||||
|
||||
# Silence the ratelimit error for locmem if it appears,
|
||||
# though we just switched to file-based which is supported.
|
||||
SILENCED_SYSTEM_CHECKS = ['django_ratelimit.E003']
|
||||
|
||||
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/6.0/ref/settings/#auth-password-validators
|
||||
|
||||
Reference in new issue
Block a user