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