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 d96362e commit 80a96d0Copy full SHA for 80a96d0
pyconbalkan/settings.py
@@ -22,7 +22,7 @@
22
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
23
24
# SECURITY WARNING: keep the secret key used in production secret!
25
-SECRET_KEY = config('SECRET_KEY')
+SECRET_KEY = os.getenv('SECRET_KEY', config('SECRET_KEY'))
26
27
# SECURITY WARNING: don't run with debug turned on in production!
28
DEBUG = config('DEBUG', default=False, cast=bool)
0 commit comments