@contextfunction
def finance_liability_list(context, liabilities, skip_group=False):
    request = context['request']

    response_format = 'html'
    if 'response_format' in context:
        response_format = context['response_format']

    return Markup(render_to_string('finance/tags/liability_list',
                                   {'liabilities': liabilities,
                                       'skip_group': skip_group},
                                   context_instance=RequestContext(request),
                                   response_format=response_format))
Print a list of orders
dataset/ETHPy150Open treeio/treeio/treeio/finance/templatetags/finance.py/finance_liability_list