Skip to content

Glossary: Django Beyond the Basics

has_perm

Also written: user.has_perm

A user method that checks one Django permission, such as `"orders.change_order"`. A superuser always passes.

Where the book teaches it

Related terms

Permission, group