From e8ca2d76b07e001e5b1ae4503c5b7ca36f7e1961 Mon Sep 17 00:00:00 2001 From: Surya Date: Wed, 24 Jul 2024 22:27:33 +0200 Subject: [PATCH] Made the `SECRET` secret Made the `SECRET KEY` secret by using .env --- BH/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/BH/settings.py b/BH/settings.py index fcea033..f03e22a 100644 --- a/BH/settings.py +++ b/BH/settings.py @@ -20,6 +20,7 @@ TEMPLATES_DIR = os.path.join(BASE_DIR + '/templates') # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/ +# Load the Env load_dotenv() # SECURITY WARNING: keep the secret key used in production secret!