@handle_response_format
@treeio_login_required
def equity_view(request, equity_id, response_format='html'):
 equity = get_object_or_404(Equity, pk=equity_id)
 return render_to_response('finance/equity_view', {'equity': equity}, context_instance=RequestContext(request), response_format=response_format)

@ handle_response_format @ treeio_login_required def equity_view ( request , equity_id , response_format = 'html' ) : equity = get_object_or_404 ( Equity , pk = equity_id ) return render_to_response ( 'finance/equity_view' , { 'equity' : equity } , context_instance = RequestContext ( request ) , response_format = response_format )
single transaction view page .