#NEWLINE# def datatables_ajax_response( self , data , total_records , filtered_records = None ) : #NEWLINE# #INDENT# return HttpResponse ( json . dumps ( { #NEWLINE# #INDENT# 'sEcho' : self . echo , #NEWLINE# 'aaData' : data , #NEWLINE# 'iTotalRecords' : total_records , #NEWLINE# 'iTotalDisplayRecords' : ( filtered_records or total_records ) , #NEWLINE# #UNINDENT# } ) )