Skip to content

Commit

Permalink
change to read_dot_env in env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmurilo75 committed Feb 28, 2024
1 parent 05c59d3 commit 054fcf7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
APPS_DIR = BASE_DIR / "negligent_octopus"
env = environ.Env()

# READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False)
READ_DOT_ENV_FILE = True
READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False)
if READ_DOT_ENV_FILE:
# OS environment variables take precedence over variables from .env
env.read_env(str(BASE_DIR / ".env"))
Expand Down

0 comments on commit 054fcf7

Please sign in to comment.