We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f5e82 commit 815af5aCopy full SHA for 815af5a
oc_lettings_site/settings.py
@@ -11,6 +11,8 @@
11
# Quick-start development settings - unsuitable for production
12
# See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
13
14
+# IMPORTANT!:
15
+# Add your SECRET_KEY to the environment variables in Production, or it will be randomly generated!
16
SECRET_KEY = os.environ.get('SECRET_KEY', default=get_random_secret_key())
17
18
if not IS_HEROKU:
0 commit comments