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
Add explantion of using .env
to docs
#18
Comments
isms
added a commit
that referenced
this issue
Apr 29, 2016
- Add opinion about being careful before changing folder layout.
isms
added a commit
that referenced
this issue
Apr 29, 2016
- Add `find_dotenv` method that will try to find a .env file by (a) guessing where to start using `__file__` or the working directory -- allowing this to work in non-file contexts such as IPython notebooks and the REPL, and then (b) walking up the directory tree looking for the specified file -- called `.env` by default. This is a bit like the "filthy magic" employed by django-dotenv[1] to serve the same purpose, and allows the user to write `load_dotenv(find_dotenv())` in many contexts. [1] https://github.com/jpadilla/django-dotenv/blob/master/dotenv.py#L44-L46
isms
added a commit
that referenced
this issue
Apr 29, 2016
- Add `find_dotenv` method that will try to find a .env file by (a) guessing where to start using `__file__` or the working directory -- allowing this to work in non-file contexts such as IPython notebooks and the REPL, and then (b) walking up the directory tree looking for the specified file -- called `.env` by default. This is a bit like the "filthy magic" employed by django-dotenv[1] to serve the same purpose, and allows the user to write `load_dotenv(find_dotenv())` in many contexts. [1] https://github.com/jpadilla/django-dotenv/blob/master/dotenv.py#L44-L46
isms
added a commit
that referenced
this issue
Apr 29, 2016
- Add `find_dotenv` method that will try to find a .env file by (a) guessing where to start using `__file__` or the working directory -- allowing this to work in non-file contexts such as IPython notebooks and the REPL, and then (b) walking up the directory tree looking for the specified file -- called `.env` by default. This is a bit like the "filthy magic" employed by django-dotenv[1] to serve the same purpose, and allows the user to write `load_dotenv(find_dotenv())` in many contexts. [1] https://github.com/jpadilla/django-dotenv/blob/master/dotenv.py#L44-L46
isms
added a commit
that referenced
this issue
Apr 29, 2016
- Add `find_dotenv` method that will try to find a .env file by (a) guessing where to start using `__file__` or the working directory -- allowing this to work in non-file contexts such as IPython notebooks and the REPL, and then (b) walking up the directory tree looking for the specified file -- called `.env` by default. This is a bit like the "filthy magic" employed by django-dotenv[1] to serve the same purpose, and allows the user to write `load_dotenv(find_dotenv())` in many contexts. [1] https://github.com/jpadilla/django-dotenv/blob/master/dotenv.py#L44-L46
Pull request added: #22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: