Skip to content

Glossary: Django Basics

os.environ

Also written: os.environ.get

Python's dict-like view of environment variables, read through the `os` module. Kettle & Crane's settings use it for `SECRET_KEY` and `DEBUG`.

Where the book teaches it

Related terms

environment variableSECRET_KEY