Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #18122 - Clarified section title regarding applying permissions…

… to generic views.
  • Loading branch information...
commit 964979e8ecec3ceccb2119ccb7270111b953611e 1 parent 8d3e501
Tim Graham timgraham authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/topics/auth.txt
6 docs/topics/auth.txt
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.