#24913: localize filter tag not work for thousand separator then USE_L10N is
False
--------------------------------------+----------------------
Reporter: Andertaker | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7
Severity: Normal | Keywords: localize
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+----------------------
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
--
Ticket URL: <https://code.djangoproject.com/ticket/24913>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.7e4c95b9ba10734882954679eece30a3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.