aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-01-20 07:46:08 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-01-20 07:46:08 +0000
commit52a0a7570f55a4d60e67f384a97148df153ae5f7 (patch)
tree56c55678ed8bf1bcd0f1a0fe417ca7fdd02c7f63
parent9d76a3c52b8310726ec09e0262813f0438c21df6 (diff)
use .env file environment variables
-rw-r--r--config/settings/base.py2
1 files changed, 1 insertions, 1 deletions
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")))