summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/2.2.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt
index f731562640..3201d00047 100644
--- a/docs/releases/2.2.txt
+++ b/docs/releases/2.2.txt
@@ -457,6 +457,11 @@ Miscellaneous
* Tests that violate deferrable database constraints now error when run on
SQLite 3.20+, just like on other backends that support such constraints.
+* To catch usage mistakes, the test :class:`~django.test.Client` and
+ :func:`django.utils.http.urlencode` now raise ``TypeError`` if ``None`` is
+ passed as a value to encode because ``None`` can't be encoded in GET and POST
+ data. Either pass an empty string or omit the value.
+
.. _deprecated-features-2.2:
Features deprecated in 2.2