From 7f1b8606fe8153c152161f1d5f9673e2328286a2 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Mon, 16 Aug 2021 16:04:03 +0200 Subject: set default key and use secure cookies --- manager/settings.py | 5 +++++ version.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1