Ticket #4611: authentication.diff
File authentication.diff, 547 bytes (added by , 17 years ago) |
---|
-
docs/authentication.txt
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