mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Removed stray tab in django.contrib.humanize template tag
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c1a73d80da
commit
587abaa95c
@ -43,7 +43,7 @@ def intword(value):
|
||||
if value < 1000000:
|
||||
return value
|
||||
if value < 1000000000:
|
||||
new_value = value / 1000000.0
|
||||
new_value = value / 1000000.0
|
||||
return ngettext('%(value).1f million', '%(value).1f million', new_value) % {'value': new_value}
|
||||
if value < 1000000000000:
|
||||
new_value = value / 1000000000.0
|
||||
|
Loading…
Reference in New Issue
Block a user