1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[1.11.x] Fixed #28303 -- Prevented localization of attribute values in the DTL attrs.html widget template.

Backport of 3b050fd0d0 from master
This commit is contained in:
Tim Graham
2017-06-17 08:12:05 -04:00
parent 49de4f1541
commit f0ec88fb63
3 changed files with 20 additions and 1 deletions

View File

@@ -40,3 +40,7 @@ Bugfixes
context. It's now an empty string (as it is for the original function-based
``login()`` view) if the corresponding parameter isn't sent in a request (in
particular, when the login page is accessed directly) (:ticket:`28229`).
* 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`).