def absolute_reverse(view_name, query_kwargs=None, args=None, kwargs=None):
 relative_url = reverse(view_name, kwargs=kwargs)
 url = website_util.api_v2_url(relative_url, params=query_kwargs, base_prefix='')
 return url

def absolute_reverse ( view_name , query_kwargs = None , args = None , kwargs = None ) : relative_url = reverse ( view_name , kwargs = kwargs ) url = website_util . api_v2_url ( relative_url , params = query_kwargs , base_prefix = '' ) return url
like djangos reverse .