mirror of https://github.com/django/django.git
Fixed #15236 -- corrected a typo and added a versionadded directive for the user_logged_in and user_logged_out signals. Thanks to claudep for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
608877c066
commit
1bac26b9a8
|
@ -657,6 +657,8 @@ How to log a user out
|
|||
Login and logout signals
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 1.3
|
||||
|
||||
The auth framework uses two :doc:`signals </topics/signals>` that can be used
|
||||
for notification when a user logs in or out.
|
||||
|
||||
|
@ -675,7 +677,7 @@ Arguments sent with this signal:
|
|||
``user``
|
||||
The user instance that just logged in.
|
||||
|
||||
.. data:: django.contrib.auth.signals.user_logged_outs
|
||||
.. data:: django.contrib.auth.signals.user_logged_out
|
||||
|
||||
Sent when the logout method is called.
|
||||
|
||||
|
|
Loading…
Reference in New Issue