summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-08-06 16:15:09 -0400
committerTim Graham <timograham@gmail.com>2012-08-06 18:18:00 -0400
commit6536f7597b4cbccc53846d099fbc7a6b13929ab7 (patch)
tree3a37e899ca4cb4b4022901acf9aafb68b52ef650
parentdf8a2bf4cbc962e52f3d8b440eaeeea2a984bbfc (diff)
[1.4.X] Fixed #17053 - Added a note about USE_THOUSAND_SEPARATOR setting to localizations docs.
Thanks shelldweller for the draft patch. Backport of 4f3a6b853a from master
-rw-r--r--docs/topics/i18n/formatting.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/topics/i18n/formatting.txt b/docs/topics/i18n/formatting.txt
index a459b95042..a272626ad4 100644
--- a/docs/topics/i18n/formatting.txt
+++ b/docs/topics/i18n/formatting.txt
@@ -23,7 +23,10 @@ necessary to set :setting:`USE_L10N = True <USE_L10N>` in your settings file.
The default :file:`settings.py` file created by :djadmin:`django-admin.py
startproject <startproject>` includes :setting:`USE_L10N = True <USE_L10N>`
- for convenience.
+ for convenience. Note, however, that to enable number formatting with
+ thousand separators it is necessary to set :setting:`USE_THOUSAND_SEPARATOR
+ = True <USE_THOUSAND_SEPARATOR>` in your settings file. Alternatively, you
+ could use :tfilter:`intcomma` to format numbers in your template.
.. note::