mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +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:
parent
e71b63e280
commit
a35ed20241
5 changed files with 102 additions and 7 deletions
|
@ -696,7 +696,7 @@ Use the ``django.test.client.Client`` class to make requests.
|
|||
|
||||
After you call this method, the test client will have all the cookies
|
||||
and session data cleared to defaults. Subsequent requests will appear
|
||||
to come from an AnonymousUser.
|
||||
to come from an :class:`~django.contrib.auth.models.AnonymousUser`.
|
||||
|
||||
Testing responses
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue