@treeio_login_required
def widget_index(request, response_format='html'):
 tickets = Object.filter_by_request(request, Ticket.objects.filter(status__hidden=False))
 context = _get_default_context(request)
 context.update({'tickets': tickets})
 return render_to_response('services/widgets/index', context, context_instance=RequestContext(request), response_format=response_format)

@ treeio_login_required def widget_index ( request , response_format = 'html' ) : tickets = Object . filter_by_request ( request , Ticket . objects . filter ( status__hidden = False ) ) context = _get_default_context ( request ) context . update ( { 'tickets' : tickets } ) return render_to_response ( 'services/widgets/index' , context , context_instance = RequestContext ( request ) , response_format = response_format )
all active tickets .