aboutsummaryrefslogtreecommitdiffstats
path: root/manager/settings.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2021-08-16 16:04:03 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2021-08-16 16:04:34 +0200
commit7f1b8606fe8153c152161f1d5f9673e2328286a2 (patch)
tree2e47fc94ea46a7719a66ae31abba4322bf282269 /manager/settings.py
parentshow custom message on sign document and approve popup (diff)
downloadscout-subs-7f1b8606fe8153c152161f1d5f9673e2328286a2.tar.gz
scout-subs-7f1b8606fe8153c152161f1d5f9673e2328286a2.zip
set default key and use secure cookies
Diffstat (limited to '')
-rw-r--r--manager/settings.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/manager/settings.py b/manager/settings.py
index 04d9947..03942d9 100644
--- a/manager/settings.py
+++ b/manager/settings.py
@@ -25,6 +25,11 @@ SECRET_KEY = 'b4ns!4$%k2w%h=a&p+w6*a4(t_rkna4ax8^s66vzxtrr&b!lb#'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
+DEFAULT_AUTO_FIELD='django.db.models.AutoField'
+
+SESSION_COOKIE_SECURE=True
+CSRF_COOKIE_SECURE=True
+
ALLOWED_HOSTS = []
# Email