@contextfunction
def identities_contact_list(context, contacts, skip_group=''):
 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))

@ contextfunction def identities_contact_list ( context , contacts , skip_group = '' ) : 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 ) )
print a list of contacts .