summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-01-10 11:16:29 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-01-10 13:31:19 +0100
commit6554f00df6cfe3be7d843025a3f53fe124cfd756 (patch)
tree325df6e56ae8728960a834b28c8682a887157737 /docs/ref
parent2ea0321058a3ba04306f8e6b9d1e1aa99e164a3f (diff)
[4.0.x] Corrected directive for signals in django.contrib.auth docs.
Backport of b0ccf74549fe138c040798e0e99fc0291a7e03ed from main
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/auth.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index c15ff5f6eb..40c3c84e75 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -419,7 +419,7 @@ Login and logout signals
The auth framework uses the following :doc:`signals </topics/signals>` that
can be used for notification when a user logs in or out.
-.. function:: user_logged_in
+.. data:: user_logged_in
Sent when a user logs in successfully.
@@ -434,7 +434,7 @@ can be used for notification when a user logs in or out.
``user``
The user instance that just logged in.
-.. function:: user_logged_out
+.. data:: user_logged_out
Sent when the logout method is called.
@@ -449,7 +449,7 @@ can be used for notification when a user logs in or out.
The user instance that just logged out or ``None`` if the
user was not authenticated.
-.. function:: user_login_failed
+.. data:: user_login_failed
Sent when the user failed to login successfully