summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-06-04 12:37:44 -0400
committerTim Graham <timograham@gmail.com>2013-06-04 12:39:09 -0400
commita35ed202419a054a9125ee6205a1a7b4eb3cb46d (patch)
treedffaadc39b64408f0e3f173fe52e186d87ea2a56 /docs
parente71b63e280559122371d125d75a593dc2435c394 (diff)
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.6.txt4
-rw-r--r--docs/topics/testing/overview.txt2
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt
index 08a574f211..0970453b18 100644
--- a/docs/releases/1.6.txt
+++ b/docs/releases/1.6.txt
@@ -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
==========================
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt
index 470051e78e..d81b171a49 100644
--- a/docs/topics/testing/overview.txt
+++ b/docs/topics/testing/overview.txt
@@ -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
~~~~~~~~~~~~~~~~~