#NEWLINE# def filter_for_related_model( self , related_model ) : #NEWLINE# #INDENT# ctype_id = self . get_ctype_id_for_obj ( related_model ) #NEWLINE# return self . filter ( related_object_ctype = ctype_id )