Use template tags instead of partial HTML

This commit is contained in:
2024-08-18 05:41:50 +02:00
parent 3ff3fe157a
commit 534de60f9f
9 changed files with 277 additions and 155 deletions

View File

@ -171,13 +171,13 @@ MESSAGE_TAGS: dict[int, str] = {
messages.ERROR: "alert-danger",
}
CACHE_MIDDLEWARE_SECONDS = 60 * 60 * 24 # 1 day
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
"LOCATION": DATA_DIR / "django_cache",
},
}
# CACHE_MIDDLEWARE_SECONDS = 60 * 60 * 24 # 1 day
# CACHES = {
# "default": {
# "BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
# "LOCATION": DATA_DIR / "django_cache",
# },
# }
SITE_ID = 1