Commit ae3cd844 authored by Joren Vrancken's avatar Joren Vrancken

Merge branch 'fix-818-secret-key' into 'master'

Remove SECRET_KEY from production.py

Closes #818

See merge request !1146
parents 2df5bfa3 fa78382a
......@@ -22,6 +22,7 @@ services:
<<: *postgresvars
DJANGO_DEBUG: 'True'
DJANGO_POSTGRES_HOST: postgres
DJANGO_SECRET: 'do_not_use_in_prod'
volumes:
concrexit:
......
......@@ -24,9 +24,7 @@ BASE_DIR = os.path.abspath(os.path.join(
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get(
'DJANGO_SECRET',
'#o-0d1q5&^&06tn@8pr1f(n3$crafd++^%sacao7hj*ea@c)^t')
SECRET_KEY = os.environ.get('DJANGO_SECRET')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DJANGO_DEBUG') == 'True'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment