@handle_response_format
@treeio_login_required
def transaction_view(request, transaction_id, response_format='html'):
 transaction = get_object_or_404(Transaction, pk=transaction_id)
 return render_to_response('finance/transaction_view', {'transaction': transaction}, context_instance=RequestContext(request), response_format=response_format)

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