harden production settings
This commit is contained in:
parent
a29dc5b97c
commit
34fd41cff6
@ -219,3 +219,10 @@ SHIMATTA_KENKYUSHO_TITLE = 'しまった・研究所'
|
|||||||
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
|
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
|
||||||
|
|
||||||
CRISPY_TEMPLATE_PACK = "bootstrap5"
|
CRISPY_TEMPLATE_PACK = "bootstrap5"
|
||||||
|
|
||||||
|
|
||||||
|
# Production only settings
|
||||||
|
SESSION_COOKIE_SECURE = True
|
||||||
|
CSRF_COOKIE_SECURE = True
|
||||||
|
|
||||||
|
SECURE_SSL_REDIRECT = True
|
Loading…
Reference in New Issue
Block a user