def link(obj, use_cache=None): """\ Given a model instance, return HTML for a link to that model, if it has a 'get_absolute_url()' method. """ return html(obj, link=True, use_cache=use_cache)
def link_block(obj, use_cache=None): return html(obj, link=True, block=True, use_cache=use_cache)