1
0
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:
Claude Paroz
2020-06-04 09:11:37 +02:00
committed by Mariusz Felisiak
parent 51250d2f12
commit 9e57b1efb5
4 changed files with 9 additions and 0 deletions

View File

@@ -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