From 0a669d7e88180a8487dacb512f39b23dae8bf315 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 12 Dec 2022 10:07:29 +0100 Subject: [PATCH] Correct name for SECRET_KEY env --- src/network_inventory/settings/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network_inventory/settings/production.py b/src/network_inventory/settings/production.py index bf2f859..ed196eb 100644 --- a/src/network_inventory/settings/production.py +++ b/src/network_inventory/settings/production.py @@ -15,7 +15,7 @@ ALLOWED_HOSTS = [ ] # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = os.getenv("SECRET_KEY") +SECRET_KEY = os.getenv("DJANGO_SECRET_KEY") # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False