read the env, so the env works (#863)

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-11-02 18:03:52 +01:00 committed by Daniel Roy Greenfeld
parent 3a7a75ad9c
commit 4f3e18d0cc

View File

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