From 38ee72790ccee73d98bb6789930c4e067557e3dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 29 Dec 2019 14:12:46 +0100 Subject: [PATCH] settings: do not include a default secret key --- chloro/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chloro/settings.py b/chloro/settings.py index fa1b1be..b29168d 100644 --- a/chloro/settings.py +++ b/chloro/settings.py @@ -20,7 +20,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'cv)5m&o$$hwhl-a79_vyhs#04mq_p*p-xvyvoau%(6wef_by!y' +SECRET_KEY = '' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True @@ -112,3 +112,5 @@ local_settings_file = os.environ.get( ) if os.path.exists(local_settings_file): exec(open(local_settings_file).read()) + +assert SECRET_KEY -- 2.39.2