def urlizetrunc(value, limit):
 from django.utils.html import urlize
 return urlize(value, trim_url_limit=int(limit), nofollow=True)

def urlizetrunc ( value , limit ) : from django . utils . html import urlize return urlize ( value , trim_url_limit = int ( limit ) , nofollow = True )
converts urls into clickable links .