Skip to content
Snippets Groups Projects
Commit 40ef4df1 authored by adorda's avatar adorda
Browse files

secret and debug as envs

parent 59517b0f
No related branches found
No related tags found
1 merge request!1Development
......@@ -35,10 +35,10 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'ser@=k-r(&j_-@bjxi9_jjrrg!48!i1g90^1r=@*$y*f-pk&r1'
SECRET_KEY = os.getenv("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = os.getenv("DEBUG", 0)
ALLOWED_HOSTS = ['*']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment