[4.0.x] Corrected directive for signals in django.contrib.auth docs.
Backport of b0ccf74549
from main
This commit is contained in:
parent
2ea0321058
commit
6554f00df6
|
@ -419,7 +419,7 @@ Login and logout signals
|
||||||
The auth framework uses the following :doc:`signals </topics/signals>` that
|
The auth framework uses the following :doc:`signals </topics/signals>` that
|
||||||
can be used for notification when a user logs in or out.
|
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.
|
Sent when a user logs in successfully.
|
||||||
|
|
||||||
|
@ -434,7 +434,7 @@ can be used for notification when a user logs in or out.
|
||||||
``user``
|
``user``
|
||||||
The user instance that just logged in.
|
The user instance that just logged in.
|
||||||
|
|
||||||
.. function:: user_logged_out
|
.. data:: user_logged_out
|
||||||
|
|
||||||
Sent when the logout method is called.
|
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
|
The user instance that just logged out or ``None`` if the
|
||||||
user was not authenticated.
|
user was not authenticated.
|
||||||
|
|
||||||
.. function:: user_login_failed
|
.. data:: user_login_failed
|
||||||
|
|
||||||
Sent when the user failed to login successfully
|
Sent when the user failed to login successfully
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue