I need to place my numbers in the form of a thousand separator and dot in the form of a decimal separator, that is, 100 000.00
, 2 123 324.32
.
I have these settings:
USE_L10N = wrong DECIMAL_SEPARATOR = '.' USE_THOUSAND_SEPARATOR = True THOUSAND_SEPARATOR = '' NUMBER_GROUPING = 3 \ / code> This helps with the decimal separator, but does not help with the thousand separator. I still have numbers 100000.00. What am I missing?
You USE_L10N
to when USE_L10N is set to true and if If this is set to true, Django will use values for format THOUSAND_SEPARATOR and NUMBER_GROUPING formats, that is correct
:
.
No comments:
Post a Comment