mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 04:07:48 +03:00
fix issue #1039
This commit is contained in:
parent
d0cd31e019
commit
a0efe83901
|
@ -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 New Issue
Block a user