Fixed #1058 -- Fixed typo in wordwrap filter documentation. Thanks, kieranholland.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e72a6b194d
commit
e4b48a8b92
|
@ -133,7 +133,7 @@ def wordwrap(value, arg):
|
|||
"""
|
||||
Wraps words at specified line length
|
||||
|
||||
Argument: number of words to wrap the text at.
|
||||
Argument: number of characters at which to wrap the text
|
||||
"""
|
||||
from django.utils.text import wrap
|
||||
return wrap(str(value), int(arg))
|
||||
|
|
|
@ -1071,7 +1071,7 @@ wordwrap
|
|||
|
||||
Wraps words at specified line length.
|
||||
|
||||
**Argument:** number of words at which to wrap the text
|
||||
**Argument:** number of characters at which to wrap the text
|
||||
|
||||
yesno
|
||||
~~~~~
|
||||
|
|
Loading…
Reference in New Issue