diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2021-08-16 16:04:03 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2021-08-16 16:04:34 +0200 |
commit | 7f1b8606fe8153c152161f1d5f9673e2328286a2 (patch) | |
tree | 2e47fc94ea46a7719a66ae31abba4322bf282269 | |
parent | show custom message on sign document and approve popup (diff) | |
download | scout-subs-7f1b8606fe8153c152161f1d5f9673e2328286a2.tar.gz scout-subs-7f1b8606fe8153c152161f1d5f9673e2328286a2.zip |
set default key and use secure cookies
-rw-r--r-- | manager/settings.py | 5 | ||||
-rw-r--r-- | version.txt | 2 |
2 files changed, 6 insertions, 1 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 diff --git a/version.txt b/version.txt index 4158a67..414f793 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ version=0.3 -rev=5 +rev=6 |