This commit is contained in:
Fábio C. Barrionuevo da Luz 2017-02-15 18:15:16 -03:00 committed by GitHub
parent d0cd31e019
commit a0efe83901

View File

@ -19,7 +19,7 @@ APPS_DIR = ROOT_DIR.path('{{ cookiecutter.project_slug }}')
env = environ.Env()
# .env file, should load only in development environment
READ_DOT_ENV_FILE = env('DJANGO_READ_DOT_ENV_FILE', default=False)
READ_DOT_ENV_FILE = env.bool('DJANGO_READ_DOT_ENV_FILE', default=False)
if READ_DOT_ENV_FILE:
# Operating System Environment variables have precedence over variables defined in the .env file,