#NEWLINE# def get_query_set( self , request ) : #NEWLINE# #INDENT# qs = self . get_model ( request ) . objects . all ( ) . order_by ( self . get_order_field ( request ) ) #NEWLINE# if ( request . GET . get ( 'level' ) > 0 ) : #NEWLINE# #INDENT# qs = qs . filter ( level__gte = self . GET [ 'level' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if request . GET . get ( 'server_name' ) : #NEWLINE# #INDENT# qs = qs . filter ( server_name = request . GET [ 'server_name' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if request . GET . get ( 'logger' ) : #NEWLINE# #INDENT# qs = qs . filter ( logger = request . GET [ 'logger' ] ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return qs