Ticket #4611: authentication.diff
| File authentication.diff, 0.5 kB (added by John Shaffer <jshaffer2112@gmail.com>, 1 year ago) |
|---|
-
docs/authentication.txt
old new 661 661 The permission_required decorator 662 662 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 663 663 664 **New in Django development version**665 666 664 It's a relatively common task to check whether a user has a particular 667 665 permission. For that reason, Django provides a shortcut for that case: the 668 666 ``permission_required()`` decorator. Using this decorator, the earlier example
