summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-03-02 05:53:58 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-03-02 05:53:58 +0000
commite4b48a8b92c4a1da3904257b40c010682d8a6852 (patch)
tree616adbd4ea5fa9805ba9834773f982326d9ff718 /django
parente72a6b194d87fe28314b7fcea690b8c75f16343f (diff)
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
Diffstat (limited to 'django')
-rw-r--r--django/core/template/defaultfilters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/template/defaultfilters.py b/django/core/template/defaultfilters.py
index 73394ead67..b82d54a31c 100644
--- a/django/core/template/defaultfilters.py
+++ b/django/core/template/defaultfilters.py
@@ -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))