@contextfunction
def core_generic_list(context, objects, skip_group=False, tag=None):
 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))

@ contextfunction def core_generic_list ( context , objects , skip_group = False , tag = None ) : 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 ) )
print a list of objects .