From 381f83af7e407b38b890b775011b2ee85bfd2700 Mon Sep 17 00:00:00 2001 From: yann Date: Mon, 15 Sep 2025 10:51:00 +0200 Subject: [PATCH] move key in .env --- oc_lettings_site/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oc_lettings_site/settings.py b/oc_lettings_site/settings.py index e23643a..29dea38 100644 --- a/oc_lettings_site/settings.py +++ b/oc_lettings_site/settings.py @@ -14,7 +14,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'fp$9^593hsriajg$_%=5trot9g!1qa@ew(o-1#@=&4%=hp46(s' +SECRET_KEY = os.getenv('DJANGO_SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False