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

Allow values in .env to overwrite already defined environment variables #26

Closed
alexdlaird opened this issue Dec 11, 2017 · 1 comment
Closed

Comments

@alexdlaird
Copy link
Contributor

This should be an optional "overwrite" parameter, False by default.

This would especially be useful when running tests, so test cases can still rely on a .env file and ensure it will override pre-existing environment variables that may not be suitable to use when running tests.

alexdlaird added a commit to alexdlaird/django-dotenv that referenced this issue Dec 11, 2017
alexdlaird added a commit to alexdlaird/django-dotenv that referenced this issue Dec 11, 2017
alexdlaird added a commit to alexdlaird/django-dotenv that referenced this issue Dec 11, 2017
jpadilla added a commit that referenced this issue Dec 11, 2017
#26: Adding an "overwrite" flag to read_dotenv, False by default.
@inglesp
Copy link
Collaborator

inglesp commented Oct 3, 2018

Closing, as this was fixed in #26.

@inglesp inglesp closed this as completed Oct 3, 2018
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

2 participants