@contextfunction
def projects_time_slot_list(context, time_slots, no_dates=False):
 request = context['request']
 response_format = 'html'
 if ('response_format' in context):
  response_format = context['response_format']
 return Markup(render_to_string('projects/tags/time_slot_list', {'time_slots': time_slots, 'no_dates': no_dates}, context_instance=RequestContext(request), response_format=response_format))

@ contextfunction def projects_time_slot_list ( context , time_slots , no_dates = False ) : request = context [ 'request' ] response_format = 'html' if ( 'response_format' in context ) : response_format = context [ 'response_format' ] return Markup ( render_to_string ( 'projects/tags/time_slot_list' , { 'time_slots' : time_slots , 'no_dates' : no_dates } , context_instance = RequestContext ( request ) , response_format = response_format ) )
print a list of time slots .