From 4f3e18d0ccae4a50cab53ccf0c71b3a436b41197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Hugon?= Date: Wed, 2 Nov 2016 18:03:52 +0100 Subject: [PATCH] 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 --- {{cookiecutter.project_slug}}/config/settings/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/{{cookiecutter.project_slug}}/config/settings/common.py b/{{cookiecutter.project_slug}}/config/settings/common.py index 04998575..c0c86b39 100644 --- a/{{cookiecutter.project_slug}}/config/settings/common.py +++ b/{{cookiecutter.project_slug}}/config/settings/common.py @@ -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 # ------------------------------------------------------------------------------