Fixed #34154 -- Made mixin headers consistent in auth docs.

This commit is contained in:
Tony Lechner 2022-11-13 22:28:27 -06:00 committed by GitHub
parent 1be7e36f85
commit b088cc2fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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