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:
Gabriel Hurley 2011-02-07 22:32:16 +00:00
parent 608877c066
commit 1bac26b9a8
1 changed files with 3 additions and 1 deletions

View File

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