Skip to content

Commit 8c325c0

Browse files
authored
Merge pull request #149 from FFX01/patch-1
Add note about has_perm for superuser
2 parents 5596151 + 6d708a6 commit 8c325c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ Now, checking again gives ``adrian`` the required permissions:
414414
>>> martin.has_perm('books.delete_book', guidetodjango)
415415
False
416416
417+
**NOTE:** Calling `has_perm` on a superuser will ALWAYS return `True`.
417418

418419
Permissions in models
419420
---------------------

0 commit comments

Comments
 (0)