summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-07-20 11:54:55 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-20 12:55:44 +0200
commitf91ba43ebf31e3fda405b4623a7cf212599ff9b3 (patch)
tree04cb2e5a6ed96ef06e2cc8cef0c73951513f81f1
parentb830cc02ede9d4f41a574664b76916c8fe41de16 (diff)
[3.1.x] Improved description of USE_THOUSAND_SEPARATOR setting.
Backport of 80f92177eb2a175579f4a6907ef5a358863bddca from master
-rw-r--r--docs/ref/settings.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index acef82f19b..b307bf3e7a 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -2780,11 +2780,10 @@ See also :setting:`LANGUAGE_CODE`, :setting:`USE_I18N` and :setting:`USE_TZ`.
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 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.
+When set to ``True`` and :setting:`USE_L10N` is also ``True``, Django will
+format numbers using the :setting:`NUMBER_GROUPING` and
+:setting:`THOUSAND_SEPARATOR` settings. These settings may also be dictated by
+the locale, which takes precedence.
See also :setting:`DECIMAL_SEPARATOR`, :setting:`NUMBER_GROUPING` and
:setting:`THOUSAND_SEPARATOR`.