@treeio_login_required
def widget_tasks_assigned_to_me(request, response_format='html'):
 query = (Q(parent__isnull=True) & Q(status__hidden=False))
 tasks = Object.filter_by_request(request, Task.objects.filter(query))
 return render_to_response('projects/widgets/tasks_assigned_to_me', {'tasks': tasks}, context_instance=RequestContext(request), response_format=response_format)

@ treeio_login_required def widget_tasks_assigned_to_me ( request , response_format = 'html' ) : query = ( Q ( parent__isnull = True ) & Q ( status__hidden = False ) ) tasks = Object . filter_by_request ( request , Task . objects . filter ( query ) ) return render_to_response ( 'projects/widgets/tasks_assigned_to_me' , { 'tasks' : tasks } , context_instance = RequestContext ( request ) , response_format = response_format )
a list of tasks assigned to current user .