mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user