Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  django/core/template/defaultfilters.py
  2. +1 −1  docs/templates.txt
View
2  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))
View
2  docs/templates.txt
@@ -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
~~~~~

0 comments on commit e4b48a8

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