From 4682d693c4ab5447619d72be5626c4bbdcb655cd Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Tue, 9 Feb 2010 20:05:52 +0000 Subject: [PATCH] Fixed #12829 - typos introduced in [12400] Thanks Alex. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12401 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/auth.txt | 4 ++-- 1 file 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): ...