summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-06-15 11:05:21 -0400
committerTim Graham <timograham@gmail.com>2017-06-17 18:17:23 -0400
commit221e6e18177516ac4ac95e40c344b93d14dd607b (patch)
tree81b8b83ac56677b447493b0413aaaf6e7111f2a3 /docs
parentdc63ad7ac09ef694f19ae1d7496367614889e6fd (diff)
Fixed #28176 -- Restored the uncasted option value in ChoiceWidget template context.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.11.3.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/1.11.3.txt b/docs/releases/1.11.3.txt
index 1e2ddddb66..9aab4fbfb7 100644
--- a/docs/releases/1.11.3.txt
+++ b/docs/releases/1.11.3.txt
@@ -44,3 +44,10 @@ Bugfixes
* Prevented attribute values in the ``django/forms/widgets/attrs.html``
template from being localized so that numeric attributes (e.g. ``max`` and
``min``) of ``NumberInput`` work correctly (:ticket:`28303`).
+
+* Removed casting of the option value to a string in the template context of
+ the ``CheckboxSelectMultiple``, ``NullBooleanSelect``, ``RadioSelect``,
+ ``SelectMultiple``, and ``Select`` widgets (:ticket:`28176`). In Django
+ 1.11.1, casting was added in Python to avoid localization of numeric values
+ in Django templates, but this made some use cases more difficult. Casting is
+ now done in the template using the ``|stringformat:'s'`` filter.