summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-11-18 18:06:57 +0100
committerClaude Paroz <claude@2xlibre.net>2013-11-18 18:09:54 +0100
commit9f59149cfe97b3b0026bbc4ff1d2121e4cf04d0e (patch)
tree43875656e27144c0429cff39594586186f3e2709
parenta9c50fccf295d3ff8915588cd6442f1c70f1af9a (diff)
[1.6.x] Added release note for TypedChoiceField coerce limitation
Thanks Elec for the report and Simon Charette for the review. Refs #21397. Backport of 4a00f132e0 from master.
-rw-r--r--docs/releases/1.6.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt
index 8ddf340eda..e3369d7010 100644
--- a/docs/releases/1.6.txt
+++ b/docs/releases/1.6.txt
@@ -873,6 +873,11 @@ Miscellaneous
:class:`~django.forms.SlugField` have been suppressed because they
duplicated error messages already provided by validators tied to the fields.
+* Due to a change in the form validation workflow,
+ :class:`~django.forms.TypedChoiceField` ``coerce`` method should always
+ return a value present in the ``choices`` field attribute. That limitation
+ should be lift again in Django 1.7.
+
* There have been changes in the way timeouts are handled in cache backends.
Explicitly passing in ``timeout=None`` no longer results in using the
default timeout. It will now set a non-expiring timeout. Passing 0 into the