mirror of
https://github.com/django/django.git
synced 2025-06-03 18:49:12 +00:00
Fixed #34154 -- Made mixin headers consistent in auth docs.
This commit is contained in:
parent
1be7e36f85
commit
b088cc2fea
@ -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