Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #1058 -- Fixed typo in wordwrap filter documentation. Thanks, k…

…ieranholland.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e4b48a8b92c4a1da3904257b40c010682d8a6852 1 parent e72a6b1
Adrian Holovaty authored March 02, 2006
2  django/core/template/defaultfilters.py
@@ -133,7 +133,7 @@ def wordwrap(value, arg):
133 133
     """
134 134
     Wraps words at specified line length
135 135
 
136  
-    Argument: number of words to wrap the text at.
  136
+    Argument: number of characters at which to wrap the text
137 137
     """
138 138
     from django.utils.text import wrap
139 139
     return wrap(str(value), int(arg))
2  docs/templates.txt
@@ -1071,7 +1071,7 @@ wordwrap
1071 1071
 
1072 1072
 Wraps words at specified line length.
1073 1073
 
1074  
-**Argument:** number of words at which to wrap the text
  1074
+**Argument:** number of characters at which to wrap the text
1075 1075
 
1076 1076
 yesno
1077 1077
 ~~~~~

0 notes on commit e4b48a8

Please sign in to comment.
Something went wrong with that request. Please try again.