Skip to content

Commit

Permalink
Corrected directive for signals in django.contrib.auth docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixxm committed Jan 10, 2022
1 parent 3d7ac64 commit b0ccf74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ref/contrib/auth.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.

Expand All @@ -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

Expand Down

0 comments on commit b0ccf74

Please sign in to comment.