From 75c60e80536552125f014fde15e2964ec128c65c Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 9 Feb 2012 18:58:17 +0000 Subject: 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 --- docs/topics/i18n/formatting.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docs') 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 ========================================== -- cgit v1.3