Opened 10 years ago
Last modified 10 years ago
#24913 closed Bug
localize filter tag not work for thousand separator then USE_L10N is False — at Initial Version
Description ¶
in settings.py
USE_L10N = False
USE_THOUSAND_SEPARATOR = True
it template
{% localize on %}
{{ object.price }}
{% endlocalize %}
or
{{ object.price|localize }}
but there is no affect
I think in util.formats.number_format function should be something like this
if use_l10n:
force_grouping = True
Note:
See TracTickets
for help on using tickets.