From e4b48a8b92c4a1da3904257b40c010682d8a6852 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 2 Mar 2006 05:53:58 +0000 Subject: [PATCH] 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 --- django/core/template/defaultfilters.py | 2 +- docs/templates.txt | 2 +- 2 files changed, 2 insertions(+), 2 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)) diff --git a/docs/templates.txt b/docs/templates.txt index 66e1943f23..636132a5aa 100644 --- a/docs/templates.txt +++ b/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 ~~~~~