mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[4.1.x] Fixed #34154 -- Made mixin headers consistent in auth docs.
Backport of b088cc2feaac638aea91e4d3ab22d276f81630ff from main
This commit is contained in:
parent
8c8427c35e
commit
939bab68d8
@ -565,8 +565,8 @@ The ``login_required`` decorator
|
|||||||
|
|
||||||
.. currentmodule:: django.contrib.auth.mixins
|
.. currentmodule:: django.contrib.auth.mixins
|
||||||
|
|
||||||
The ``LoginRequired`` mixin
|
The ``LoginRequiredMixin`` mixin
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
When using :doc:`class-based views </topics/class-based-views/index>`, you can
|
When using :doc:`class-based views </topics/class-based-views/index>`, you can
|
||||||
achieve the same behavior as with ``login_required`` by using the
|
achieve the same behavior as with ``login_required`` by using the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user