This commit is contained in:
Herculino Trotta
2024-10-13 15:41:31 -03:00
parent ff302e8377
commit 7f24d49049
2 changed files with 28 additions and 29 deletions
+13 -3
View File
@@ -259,6 +259,16 @@ SPECTACULAR_SETTINGS = {
# OTHER SETTINGS
}
# CACHALOT_CACHE_RANDOM = True
# CACHALOT_QUERY_KEYGEN = "cachalot.utils.get_query_cache_key"
# CACHALOT_TIMEOUT = 60 * 60 * 24 # 24 hours, or adjust as needed
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": "INFO",
},
}