Loading docs/topics/auth.txt +3 −3 Original line number Diff line number Diff line Loading @@ -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. Loading Loading
docs/topics/auth.txt +3 −3 Original line number Diff line number Diff line Loading @@ -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. Loading