@contextfunction
def identities_contact_list(context, contacts, skip_group=''):
    "Print a list of contacts"
    request = context['request']

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

    contact_fields = ContactField.objects.all().filter(trash=False)

    return Markup(render_to_string('identities/tags/contact_list',
                                   {'contacts': contacts, 'skip_group': skip_group,
                                    'contact_fields': contact_fields},
                                   context_instance=RequestContext(request),
                                   response_format=response_format))
dataset/ETHPy150Open treeio/treeio/treeio/identities/templatetags/identities.py/identities_contact_list/original