def wordwrap(value, arg):
 from django.utils.text import wrap
 return wrap(value, int(arg))

def wordwrap ( value , arg ) : from django . utils . text import wrap return wrap ( value , int ( arg ) )
wraps words at specified line length argument: number of characters to wrap the text at .