

@contextfunction
def core_generic_list(context, objects, skip_group=False, tag=None):
    'Print a list of objects'
    if tag:
        return tag(context, objects)
    request = context['request']
    response_format = 'html'
    if ('response_format' in context):
        response_format = context['response_format']
    return Markup(render_to_string('core/tags/generic_list', {
        'objects': objects,
        'skip_group': skip_group,
    }, context_instance=RequestContext(request), response_format=response_format))

dataset/ETHPy150Open treeio/treeio/treeio/core/templatetags/object.py core_generic_list/original