Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.4.x] Fixed #18122 - Clarified section title regarding applying per…

…missions to generic views.

Backport of 964979e from master.
  • Loading branch information...
commit 751a34e4b345c303c131bf72918073ec853a66aa 1 parent fa6577f
@timgraham timgraham authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 docs/topics/auth.txt
View
11 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please sign in to comment.
Something went wrong with that request. Please try again.