Skip to content

Glossary: Django Basics

is_authenticated

Also written: user.is_authenticated

An attribute on `user` that is true for logged-in visitors and false for anonymous ones. Templates use it to show different content.

Where the book teaches it

Related terms

Usersession