Remove "environs" requirement from Django? #119

Open
opened 2025-11-06 14:19:09 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @weslord on GitHub (Dec 22, 2024).

Instances of env() can be replaced with os.environ.get().

load_dotenv(find_dotenv()) can be removed entirely.

The sample project does not include a .env file, and if it did, wouldn't it make more sense to handle that in compose.yaml with env_file: .env?

Originally created by @weslord on GitHub (Dec 22, 2024). Instances of `env()` can be replaced with `os.environ.get()`. `load_dotenv(find_dotenv())` can be removed entirely. The sample project does not include a `.env` file, and if it did, wouldn't it make more sense to handle that in `compose.yaml` with `env_file: .env`?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#119