diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-11-18 18:06:57 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-11-18 18:08:59 +0100 |
| commit | 4a00f132e0cc5246f7e7bd04b6d84a9d9ea4a0c1 (patch) | |
| tree | 85e8df5bd3a6bfabb18fb3f769476ed9a3222d0a /docs | |
| parent | ba63b9895b478c0093e61c288df0ff053ad726a8 (diff) | |
Added release note for TypedChoiceField coerce limitation
Thanks Elec for the report and Simon Charette for the review.
Refs #21397.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.6.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt index ca0b00b968..5ec5d34202 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 |
