summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-07-31 16:13:52 -0400
committerTim Graham <timograham@gmail.com>2012-08-01 07:57:10 -0400
commit751a34e4b345c303c131bf72918073ec853a66aa (patch)
tree47767e9cb586e29ec2df902a01084bee87c674e9 /docs
parentfa6577f5b2af9848b661fc24719b59e07d214728 (diff)
[1.4.x] Fixed #18122 - Clarified section title regarding applying permissions to generic views.
Backport of 964979e8ecec3ceccb2119ccb7270111b953611e from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth.txt11
1 files 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 </ref/class-based-views>`,
-decorate the :meth:`View.dispatch <django.views.generic.base.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
+</ref/class-based-views/index>`, decorate the :meth:`View.dispatch
+<django.views.generic.base.View.dispatch>` method on the class. See
+:ref:`decorating-class-based-views` for details.
Function-based generic views
~~~~~~~~~~~~~~~~~~~~~~~~~~~~