Skip to content

Commit

Permalink
Fixed #34154 -- Made mixin headers consistent in auth docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonymke authored Nov 14, 2022
1 parent 1be7e36 commit b088cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/auth/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ The ``login_required`` decorator

.. currentmodule:: django.contrib.auth.mixins

The ``LoginRequired`` mixin
~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``LoginRequiredMixin`` mixin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When using :doc:`class-based views </topics/class-based-views/index>`, you can
achieve the same behavior as with ``login_required`` by using the
Expand Down

0 comments on commit b088cc2

Please sign in to comment.