Skip to content

Commit

Permalink
Get configuration variables from env or Docker secret files
Browse files Browse the repository at this point in the history
  • Loading branch information
U039b committed Dec 5, 2024
1 parent 3c5476c commit 8d43d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent.parent
# colander/
APPS_DIR = ROOT_DIR / "colander"
env = environ.Env()
env = environ.FileAwareEnv()

READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False)
if READ_DOT_ENV_FILE:
Expand Down

0 comments on commit 8d43d8f

Please sign in to comment.