Ticket #17053: localization-doc-patch.diff

File localization-doc-patch.diff, 954 bytes (added by shelldweller, 4 years ago)
  • trunk/docs/topics/i18n/localization.txt

    271271number fields formatted in different ways, depending on the format for their
    272272current locale.
     274.. note::
     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.
    274284Django will also use localized formats when parsing data in forms. That means
    275285Django uses different formats for different locales when guessing the format
    276286used by the user when inputting data on forms.
Back to Top