summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTony Lechner <tony@tony-lechner.com>2022-11-13 22:28:27 -0600
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-11-14 05:29:22 +0100
commit939bab68d80f6b1252842d332e8cbe7ab46ad360 (patch)
tree9f238283578e085d3f0d668503719b42ccd3b389 /docs
parent8c8427c35ee82648e81eb4982a4e04ccea9edd5c (diff)
[4.1.x] Fixed #34154 -- Made mixin headers consistent in auth docs.
Backport of b088cc2feaac638aea91e4d3ab22d276f81630ff from main
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/default.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index 3e319560fb..4eb7420eb9 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -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