#NEWLINE# def queryset( self , request , queryset ) : #NEWLINE# #INDENT# if self . value ( ) : #NEWLINE# #INDENT# model = SupportedServices . get_resource_models ( ) . get ( self . value ( ) , None ) #NEWLINE# if model : #NEWLINE# #INDENT# return queryset . filter ( resource_content_type = ContentType . objects . get_for_model ( self ) ) #NEWLINE# #UNINDENT# #UNINDENT# return queryset