Commit 1bac26b9 authored by Gabriel Hurley's avatar Gabriel Hurley
Browse files

Fixed #15236 -- corrected a typo and added a versionadded directive for the...

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
parent 608877c0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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.