python-getting-started
python-getting-started copied to clipboard
.env file not used
It does not seem .env file to be used in this project. Maybe a reference to python-dotenv is missing with loading instructions at top of settings.py ?
Isn't it used in this step? https://devcenter.heroku.com/articles/getting-started-with-python#define-config-vars
The .env
file is used by heroku local
- the tutorial now uses both:
https://devcenter.heroku.com/articles/getting-started-with-python#define-config-vars
And more recently (as of #203) there is now a comment in the .env
file explaining what uses it:
https://github.com/heroku/python-getting-started/blob/main/.env#L1-L4