diff options
| author | Tim Graham <timograham@gmail.com> | 2016-03-21 19:56:15 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-03-21 19:58:44 -0400 |
| commit | a2970a04646ab555928c65823b13b140e538dcd5 (patch) | |
| tree | 3e9358ee721731ae01e44acc5fdaee724da002d6 | |
| parent | 08b0a08c251e70ba8870eb15484c4930c021b2a5 (diff) | |
[1.8.x] Fixed #26392 -- Corrected login_required/permission_required stacking example.
Backport of c41737dc00e2c8d34046b9f856f23fcc0cb4a82c from master
| -rw-r--r-- | docs/topics/auth/default.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 0bdfd24c62..72f838e771 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -598,8 +598,8 @@ The permission_required decorator from django.contrib.auth.decorators import login_required, permission_required - @permission_required('polls.can_vote', raise_exception=True) @login_required + @permission_required('polls.can_vote', raise_exception=True) def my_view(request): ... |
