diff options
| author | Tim Graham <timograham@gmail.com> | 2012-08-06 16:15:09 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-08-06 16:15:09 -0400 |
| commit | 4f3a6b853a6160a9f96d0b73199524a9bb062f90 (patch) | |
| tree | 7c07e3e5296c8a68dc40edb70092e93eb4443569 /docs | |
| parent | ede49c7ee03dd1519d0c375d953cb73e106837b6 (diff) | |
Fixed #17053 - Added a note about USE_THOUSAND_SEPARATOR setting to localizations docs.
Thanks shelldweller for the draft patch.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/formatting.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/topics/i18n/formatting.txt b/docs/topics/i18n/formatting.txt index d18781c0a9..b09164769e 100644 --- a/docs/topics/i18n/formatting.txt +++ b/docs/topics/i18n/formatting.txt @@ -21,7 +21,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:: |
