Ticket #15236: 15236.diff

File 15236.diff, 661 bytes (added by claudep, 4 years ago)

Fixed documentation of django.contrib.auth signals

  • docs/topics/auth.txt

    diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
    index 70a3397..dff7469 100644
    a b How to log a user out 
    657657Login and logout signals
    658658------------------------
    659659
     660.. versionadded:: 1.3
     661
    660662The auth framework uses two :doc:`signals </topics/signals>` that can be used
    661663for notification when a user logs in or out.
    662664
    Arguments sent with this signal: 
    675677    ``user``
    676678        The user instance that just logged in.
    677679
    678 .. data:: django.contrib.auth.signals.user_logged_outs
     680.. data:: django.contrib.auth.signals.user_logged_out
    679681
    680682Sent when the logout method is called.
    681683
Back to Top