mirror of https://github.com/django/django.git
Changed various non-breaking space characters from [17478] to use the code representation rather than the actual character, which is too hard to overlook because it just looks like a space
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2a1a0f47bb
commit
c1bdfd6f6f
|
@ -33,5 +33,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
'%Y-%m-%d', # '2006-10-25'
|
||||
)
|
||||
DECIMAL_SEPARATOR = ','
|
||||
THOUSAND_SEPARATOR = u' ' # non-breaking space
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
|
|
@ -24,6 +24,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
'%d/%m/%y %H:%M',
|
||||
)
|
||||
DECIMAL_SEPARATOR = '.' # ',' is also official (less common): NOM-008-SCFI-2002
|
||||
THOUSAND_SEPARATOR = u' ' # non-breaking space
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
||||
|
|
|
@ -37,5 +37,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
'%Y-%m-%d', # '2006-10-25'
|
||||
)
|
||||
DECIMAL_SEPARATOR = ','
|
||||
THOUSAND_SEPARATOR = u' ' # non-breaking space
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
|
|
@ -39,5 +39,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
'%d.%m.%y', # '25.10.06'
|
||||
)
|
||||
DECIMAL_SEPARATOR = ','
|
||||
THOUSAND_SEPARATOR = u' ' # non-breaking space
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
|
|
@ -39,5 +39,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
'%d.%m.%y', # '25.10.06'
|
||||
)
|
||||
DECIMAL_SEPARATOR = ','
|
||||
THOUSAND_SEPARATOR = u' ' # non-breaking space
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
|
|
@ -36,5 +36,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
'%Y-%m-%d', # '2006-10-25'
|
||||
)
|
||||
DECIMAL_SEPARATOR = ','
|
||||
THOUSAND_SEPARATOR = u' ' # non-breaking space
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
|
|
@ -33,5 +33,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
'%Y-%m-%d', # '2006-10-25'
|
||||
)
|
||||
DECIMAL_SEPARATOR = ','
|
||||
THOUSAND_SEPARATOR = u' ' # non-breaking space
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
|
|
@ -36,5 +36,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
'%m/%d/%y', # '10/25/06'
|
||||
)
|
||||
DECIMAL_SEPARATOR = ','
|
||||
THOUSAND_SEPARATOR = u' ' # non-breaking space
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
|
|
@ -39,5 +39,5 @@ DATETIME_INPUT_FORMATS = (
|
|||
# For details, please refer to http://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de
|
||||
# (in German) and the documentation
|
||||
DECIMAL_SEPARATOR = ','
|
||||
THOUSAND_SEPARATOR = u' '
|
||||
THOUSAND_SEPARATOR = u'\xa0' # non-breaking space
|
||||
NUMBER_GROUPING = 3
|
||||
|
|
|
@ -178,7 +178,7 @@ To customize the English formats, a structure like this would be needed::
|
|||
|
||||
where :file:`formats.py` contains custom format definitions. For example::
|
||||
|
||||
THOUSAND_SEPARATOR = u' '
|
||||
THOUSAND_SEPARATOR = u'\xa0'
|
||||
|
||||
to use a non-breaking space (Unicode ``00A0``) as a thousand separator,
|
||||
instead of the default for English, a comma.
|
||||
|
|
Loading…
Reference in New Issue