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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~