Look for .env file in root dir

This commit is contained in:
Philippe Luickx 2017-01-20 11:49:55 +02:00 committed by GitHub
parent de4c8c4012
commit 69eff972f3

View File

@ -16,7 +16,7 @@ ROOT_DIR = environ.Path(__file__) - 3 # ({{ cookiecutter.project_slug }}/config
APPS_DIR = ROOT_DIR.path('{{ cookiecutter.project_slug }}')
env = environ.Env()
env.read_env()
env.read_env(ROOT_DIR('.env'))
# APP CONFIGURATION
# ------------------------------------------------------------------------------