I want to use the grouping of thousands in my numeric formats.
My configuration in "settings.py" is:
USE_L10N = False
USE_THOUSAND_SEPARATOR = True
NUMBER_GROUPING = 3
Showing my numbers without the grouping of thousands.
When I check in depth why I realize that the grouping of thousands is subject to the value of the Variable settings.USE_L10N:
django/utils/numberformat.py:
def format (...):
...
use_grouping = settings.USE_L10N and settings.USE_THOUSAND_
Think it would be correct to eliminate the constraint that prohibits the display grouping of thousands, if not L10N used?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ffff7eb6-c1d9-447d-9f65-11e0cac7ea50%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment