mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #30134 -- Ensured unlocalized numbers are string representation in templates.
This commit is contained in:
committed by
Mariusz Felisiak
parent
51250d2f12
commit
9e57b1efb5
@@ -677,6 +677,9 @@ Miscellaneous
|
||||
* The undocumented ``django.contrib.postgres.fields.jsonb.JsonAdapter`` class
|
||||
is removed.
|
||||
|
||||
* The :ttag:`{% localize off %} <localize>` tag and :tfilter:`unlocalize`
|
||||
filter no longer respect :setting:`DECIMAL_SEPARATOR` setting.
|
||||
|
||||
.. _deprecated-features-3.1:
|
||||
|
||||
Features deprecated in 3.1
|
||||
|
||||
@@ -142,6 +142,9 @@ To force localization of a single value, use :tfilter:`localize`. To
|
||||
control localization over a large section of a template, use the
|
||||
:ttag:`localize` template tag.
|
||||
|
||||
Returns a string representation for unlocalized numbers (``int``, ``float``,
|
||||
or ``Decimal``).
|
||||
|
||||
.. _custom-format-files:
|
||||
|
||||
Creating custom format files
|
||||
|
||||
Reference in New Issue
Block a user