#NEWLINE# def queryset( self , request ) : #NEWLINE# #INDENT# qs = super ( HideContainerAdmin , self ) . queryset ( request ) #NEWLINE# blacklist = getattr ( settings , 'OPPS_CONTAINERS_BLACKLIST' , [ ] ) #NEWLINE# if blacklist : #NEWLINE# #INDENT# qs = qs . exclude ( child_class__in = blacklist ) #NEWLINE# #UNINDENT# return qs . select_related ( 'main_image' )