From c41737dc00e2c8d34046b9f856f23fcc0cb4a82c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 21 Mar 2016 19:56:15 -0400 Subject: [PATCH] Fixed #26392 -- Corrected login_required/permission_required stacking example. --- docs/topics/auth/default.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): ...