diff options
| author | Jannis Leidel <jannis@leidel.info> | 2012-02-09 18:58:17 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2012-02-09 18:58:17 +0000 |
| commit | 75c60e80536552125f014fde15e2964ec128c65c (patch) | |
| tree | f7acc0d19a87eea11087a9d3bc5376a51c56c0bc /docs | |
| parent | d6f9c1e7744f1c8eeb19c76d9c9b8ec04d1e96d2 (diff) | |
Fixed #17217 -- Use non breaking spaces for format localization in which spaces are used. Thanks, Claude Paroz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/formatting.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/topics/i18n/formatting.txt b/docs/topics/i18n/formatting.txt index 2ca96ed57e..4c80786edc 100644 --- a/docs/topics/i18n/formatting.txt +++ b/docs/topics/i18n/formatting.txt @@ -176,11 +176,10 @@ To customize the English formats, a structure like this would be needed:: where :file:`formats.py` contains custom format definitions. For example:: - THOUSAND_SEPARATOR = ' ' - -to use a space as a thousand separator, instead of the default for English, -a comma. + THOUSAND_SEPARATOR = u' ' +to use a non-breaking space (Unicode ``00A0``) as a thousand separator, +instead of the default for English, a comma. Limitations of the provided locale formats ========================================== |
