Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "environs" requirement from Django? #542

Open
weslord opened this issue Dec 22, 2024 · 0 comments
Open

Remove "environs" requirement from Django? #542

weslord opened this issue Dec 22, 2024 · 0 comments

Comments

@weslord
Copy link

weslord commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant