diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2010-02-09 20:05:52 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2010-02-09 20:05:52 +0000 |
| commit | 4682d693c4ab5447619d72be5626c4bbdcb655cd (patch) | |
| tree | 2e6630df03985b4fe409de6ee80bcb7e8d8d0234 /docs/topics/auth.txt | |
| parent | eaee55e547866f966a24d7b98bea93325bee9a79 (diff) | |
Fixed #12829 - typos introduced in [12400]
Thanks Alex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/auth.txt')
| -rw-r--r-- | docs/topics/auth.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index a48ded1ee3..e7576a01c4 100644 --- a/docs/topics/auth.txt +++ b/docs/topics/auth.txt @@ -1082,7 +1082,7 @@ The permission_required decorator from django.contrib.auth.decorators import permission_required - permission_required('polls.can_vote') + @permission_required('polls.can_vote') def my_view(request): ... @@ -1095,7 +1095,7 @@ The permission_required decorator from django.contrib.auth.decorators import permission_required - permission_required('polls.can_vote', login_url='/loginpage/') + @permission_required('polls.can_vote', login_url='/loginpage/') def my_view(request): ... |
