db management fix

This commit is contained in:
root
2026-05-22 17:21:52 -04:00
parent bae4942276
commit 48ecde2a51
13 changed files with 294 additions and 7 deletions
+6
View File
@@ -0,0 +1,6 @@
CSRF_TRUSTED_ORIGINS = ["https://pgmanage.rentaldrivego.ma"]
ALLOWED_HOSTS = ["pgmanage.rentaldrivego.ma"]
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
USE_X_FORWARDED_HOST = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True