From 52a0a7570f55a4d60e67f384a97148df153ae5f7 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 20 Jan 2020 07:46:08 +0000 Subject: use .env file environment variables --- config/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings/base.py b/config/settings/base.py index 5dea850..15a3be8 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -11,7 +11,7 @@ APPS_DIR = ROOT_DIR.path("ctrack") env = environ.Env() -READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False) +READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=True) if READ_DOT_ENV_FILE: # OS environment variables take precedence over variables from .env env.read_env(str(ROOT_DIR.path(".env"))) -- cgit v1.2.3