mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #18924 -- Made test.Client.logout send user_logged_out signal.
Thanks awsum for the suggestion and Pavel Ponomarev and Florian Hahn for the patch.
This commit is contained in:
@@ -623,6 +623,10 @@ Miscellaneous
|
||||
raises NoReverseMatch. There is no change to {% url %} tag, it causes
|
||||
template rendering to fail like always when NoReverseMatch is risen.
|
||||
|
||||
* :meth:`django.test.client.Client.logout` now calls
|
||||
:meth:`django.contrib.auth.logout` which will send the
|
||||
:func:`~django.contrib.auth.signals.user_logged_out` signal.
|
||||
|
||||
Features deprecated in 1.6
|
||||
==========================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user