#NEWLINE# def _get_filters( self , **kwargs ) : #NEWLINE# #INDENT# filters = [ ] #NEWLINE# for ( key , val ) in kwargs . items ( ) : #NEWLINE# #INDENT# key_clauses = key . split ( '__' ) #NEWLINE# if ( len ( key_clauses ) != 1 ) : #NEWLINE# #INDENT# raise NotImplementedError ( 'Complex filters with double-underscore clauses are not implemented yet' ) #NEWLINE# #UNINDENT# filters . append ( test_exact ( self . model , key_clauses [ 0 ] , key_clauses ) ) #NEWLINE# #UNINDENT# return filters