Skip to content

Glossary: Django Basics

environment variable

Also written: environment variables

A named value set outside your program, in the terminal or by the server, which the program reads at startup. It keeps secrets such as the live `SECRET_KEY` out of your code.

Where the book teaches it

Related terms

os.environSECRET_KEY