From 751a34e4b345c303c131bf72918073ec853a66aa Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 31 Jul 2012 16:13:52 -0400 Subject: [PATCH] [1.4.x] Fixed #18122 - Clarified section title regarding applying permissions to generic views. Backport of 964979e8ecec3ceccb2119ccb7270111b953611e from master. --- docs/topics/auth.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index 534297279a..ba427d5b4d 100644 --- a/docs/topics/auth.txt +++ b/docs/topics/auth.txt @@ -1467,12 +1467,13 @@ The permission_required decorator .. currentmodule:: django.contrib.auth -Limiting access to generic views --------------------------------- +Applying permissions to generic views +------------------------------------- -To limit access to a :doc:`class-based generic view `, -decorate the :meth:`View.dispatch ` -method on the class. See :ref:`decorating-class-based-views` for details. +To apply a permission to a :doc:`class-based generic view +`, decorate the :meth:`View.dispatch +` method on the class. See +:ref:`decorating-class-based-views` for details. Function-based generic views ~~~~~~~~~~~~~~~~~~~~~~~~~~~~