[GH-ISSUE #542] Remove "environs" requirement from Django? #7888

Open
opened 2026-05-12 05:03:32 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @weslord on GitHub (Dec 22, 2024).
Original GitHub issue: https://github.com/docker/awesome-compose/issues/542

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). Original GitHub issue: https://github.com/docker/awesome-compose/issues/542 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#7888