def make_absolute(request, view_name, kwargs=None):
 return request.build_absolute_uri(urlresolvers.reverse(view_name, kwargs=kwargs))

def make_absolute ( request , view_name , kwargs = None ) : return request . build_absolute_uri ( urlresolvers . reverse ( view_name , kwargs = kwargs ) )
magic to make an absolute url .