read the env, so the env works

Spend a whole afternoon tryin to make it works after reading your book... that was the solution
This commit is contained in:
Jérôme Hugon 2016-10-24 16:35:20 +02:00 committed by GitHub
parent 1d13b1915d
commit 41100e1ee8

View File

@ -16,6 +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()
# APP CONFIGURATION
# ------------------------------------------------------------------------------