Ticket #17053: localization-doc-patch.diff
File localization-doc-patch.diff, 954 bytes (added by , 13 years ago) |
---|
-
trunk/docs/topics/i18n/localization.txt
271 271 number fields formatted in different ways, depending on the format for their 272 272 current locale. 273 273 274 .. note:: 275 276 By default Django will not use locale specific thousand separator. To 277 display numbers with thousand separator it's necessary to set 278 :setting:`USE_THOUSAND_SEPARATOR = True <USE_THOUSAND_SEPARATOR>` in your 279 settings file. Alternatively, you could use 280 :doc:`django.contrib.humanize <ref/contrib/humanize>` to format numbers 281 in your template. 282 283 274 284 Django will also use localized formats when parsing data in forms. That means 275 285 Django uses different formats for different locales when guessing the format 276 286 used by the user when inputting data on forms.