Skip to content

Commit

Permalink
Update environment file location in Django application
Browse files Browse the repository at this point in the history
  • Loading branch information
okeneo committed Mar 4, 2024
1 parent 492e0e0 commit 4ab9341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/myproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from dotenv import load_dotenv

# Reload environment variables on startup to avoid caching them.
load_dotenv(dotenv_path="./.env.dev", verbose=True, override=True)
load_dotenv(dotenv_path="../.env.dev", verbose=True, override=True)

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
Expand Down

0 comments on commit 4ab9341

Please sign in to comment.