Ticket #1110: defaultFiltersWrap.diff
File defaultFiltersWrap.diff, 446 bytes (added by , 19 years ago) |
---|
-
core/template/defaultfilters.py
135 135 Argument: number of words to wrap the text at. 136 136 """ 137 137 from django.utils.text import wrap 138 return wrap( value, int(arg))138 return wrap(str(value), int(arg)) 139 139 140 140 def ljust(value, arg): 141 141 """