@contextfunction
def messaging_message_list(context, messages, skip_group=False, nomass=False):
 request = context['request']
 response_format = 'html'
 if ('response_format' in context):
  response_format = context['response_format']
 profile = request.user.profile
 return Markup(render_to_string('messaging/tags/message_list', {'messages': messages, 'profile': profile, 'skip_group': skip_group, 'nomass': nomass}, context_instance=RequestContext(request), response_format=response_format))

@ contextfunction def messaging_message_list ( context , messages , skip_group = False , nomass = False ) : request = context [ 'request' ] response_format = 'html' if ( 'response_format' in context ) : response_format = context [ 'response_format' ] profile = request . user . profile return Markup ( render_to_string ( 'messaging/tags/message_list' , { 'messages' : messages , 'profile' : profile , 'skip_group' : skip_group , 'nomass' : nomass } , context_instance = RequestContext ( request ) , response_format = response_format ) )
print a list of messages .