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-07-31 16:13:52 -0400
commit964979e8ecec3ceccb2119ccb7270111b953611e (patch)
treeecc8403a53068d587ce45571bb8a38f167515d73 /docs
parent8d3e501502c308cbdd3cc95b62ace0fe11d373ab (diff)
Fixed #18122 - Clarified section title regarding applying permissions to generic views.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
index 942d46073a..7e1353210a 100644
--- a/docs/topics/auth.txt
+++ b/docs/topics/auth.txt
@@ -1447,10 +1447,10 @@ 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
+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.