mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-04 18:54:53 +00:00
fix issue #1039
This commit is contained in:
parent
d0cd31e019
commit
a0efe83901
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue