diff options
| author | wingston sharon <wingston.sharon@gmail.com> | 2015-12-17 10:28:15 +0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-07 14:32:18 -0500 |
| commit | 7f218d98915ef3e76a98ef72075a6bde907dfe41 (patch) | |
| tree | cdc7a34d58be9820a848d11772a44b6684d525a4 | |
| parent | 56c461a0d7c1cbb9d5709bda817579c7ee18d474 (diff) | |
Fixed #25928 -- Clarified precendence of USE_THOUSAND_SEPARATOR and locale formats.
| -rw-r--r-- | docs/ref/settings.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index a6ac7896d1..a5abec5168 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -2474,7 +2474,9 @@ Default: ``False`` A boolean that specifies whether to display numbers using a thousand separator. When :setting:`USE_L10N` is set to ``True`` and if this is also set to ``True``, Django will use the values of :setting:`THOUSAND_SEPARATOR` and -:setting:`NUMBER_GROUPING` to format numbers. +:setting:`NUMBER_GROUPING` to format numbers unless the locale already has an +existing thousands separator. If there is a thousands separator in the locale +format, it will have higher precedence and will be applied instead. See also :setting:`DECIMAL_SEPARATOR`, :setting:`NUMBER_GROUPING` and :setting:`THOUSAND_SEPARATOR`. |
