Trouble reading environment variables locally

Connected Tutorial
This question is a follow-up to this tutorial:

Very helpful tutorial. I’m new to this platform and Django and I would like to test my app locally before deploying. I changed the DEVELOPMENT_MODE environment variable to False, but it doesn’t look like Django is reading the environment variables. When I print os.getenv() for any variable, it returns None. Is this supposed to happen? Thanks in advance for the help!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I have the same problem.