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 +++++ 1 file changed, 5 insertions(+) (limited to 'manager') 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 -- cgit v1.2.1