Skip to content

Glossary: Django Basics

SECRET_KEY

A random string Django uses to sign cookies. Anyone who knows it could pretend to be a user, so the live key must not be kept in your code.

Where the book teaches it

Related terms

cookieenvironment variableDEBUG