@contextfunction
def projects_task_list(context, tasks, time_slots=None, nomass=False, in_progress=False, by_project=False, by_milestone=False, by_assigned=False, noheader=False):
 if (time_slots is None):
  time_slots = []
 request = context['request']
 response_format = 'html'
 if ('response_format' in context):
  response_format = context['response_format']
 return Markup(render_to_string('projects/tags/task_list', {'tasks': tasks, 'nomass': nomass, 'by_project': by_project, 'by_milestone': by_milestone, 'by_assigned': by_assigned, 'in_progress': in_progress, 'noheader': noheader, 'time_slots': time_slots}, context_instance=RequestContext(request), response_format=response_format))

@ contextfunction def projects_task_list ( context , tasks , time_slots = None , nomass = False , in_progress = False , by_project = False , by_milestone = False , by_assigned = False , noheader = False ) : if ( time_slots is None ) : time_slots = [ ] request = context [ 'request' ] response_format = 'html' if ( 'response_format' in context ) : response_format = context [ 'response_format' ] return Markup ( render_to_string ( 'projects/tags/task_list' , { 'tasks' : tasks , 'nomass' : nomass , 'by_project' : by_project , 'by_milestone' : by_milestone , 'by_assigned' : by_assigned , 'in_progress' : in_progress , 'noheader' : noheader , 'time_slots' : time_slots } , context_instance = RequestContext ( request ) , response_format = response_format ) )
print a list of tasks .