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