Kaydet (Commit) 4a00f132 authored tarafından Claude Paroz's avatar Claude Paroz

Added release note for TypedChoiceField coerce limitation

Thanks Elec for the report and Simon Charette for the review.
Refs #21397.
üst ba63b989
...@@ -873,6 +873,11 @@ Miscellaneous ...@@ -873,6 +873,11 @@ Miscellaneous
:class:`~django.forms.SlugField` have been suppressed because they :class:`~django.forms.SlugField` have been suppressed because they
duplicated error messages already provided by validators tied to the fields. 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. * There have been changes in the way timeouts are handled in cache backends.
Explicitly passing in ``timeout=None`` no longer results in using the 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 default timeout. It will now set a non-expiring timeout. Passing 0 into the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment