Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #12829 - typos introduced in [12400]

Thanks Alex.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4682d693c4ab5447619d72be5626c4bbdcb655cd 1 parent eaee55e
@spookylukey spookylukey authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/auth.txt
View
4 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):
...
Please sign in to comment.
Something went wrong with that request. Please try again.