fixed api endpoints

This commit is contained in:
Lyxminxx committed 2026-09-20 20:34:44 +02:00
1 parent 7657d01ebf
commit b6dbb34a89
4 files changed
+192 -13

No files matched your search

+4
View File
@@ -140,3 +140,7 @@ STATIC_URL = 'static/'
STATICFILES_DIRS = [
BASE_DIR / 'static',
]
SESSION_ENGINE = "django.contrib.sessions.backends.db"
SESSION_COOKIE_AGE = 1209600 # Persist session for 2 weeks (in seconds)
SESSION_SAVE_EVERY_REQUEST = True
SESSION_COOKIE_HTTPONLY = True