Skip to content

Commit

Permalink
Fixed django#17053 - Added a note about USE_THOUSAND_SEPARATOR settin…
Browse files Browse the repository at this point in the history
…g to localizations docs.

Thanks shelldweller for the draft patch.
  • Loading branch information
timgraham committed Aug 6, 2012
1 parent ede49c7 commit 4f3a6b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/topics/i18n/formatting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down

0 comments on commit 4f3a6b8

Please sign in to comment.