From 2dba2b881131bc020724a9d95a84370bb94e9073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Tue, 20 Oct 2020 21:45:37 +0200 Subject: [PATCH] Fix default for secret_key in configuration.py --- configuration/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/configuration.py b/configuration/configuration.py index 7d5477c..639e1b6 100644 --- a/configuration/configuration.py +++ b/configuration/configuration.py @@ -75,7 +75,7 @@ REDIS = { # For optimal security, SECRET_KEY should be at least 50 characters in length and contain a mix of letters, numbers, and # symbols. NetBox will not run without this defined. For more information, see # https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-SECRET_KEY -SECRET_KEY = _read_secret('secret_key', environ.get('SECRET_KEY')) +SECRET_KEY = _read_secret('secret_key', environ.get('SECRET_KEY', '')) #########################