diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 64fcce49af..72205740d5 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -712,8 +712,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): ...