#NEWLINE# def formfield_for_foreignkey( self , db_field , request , **kwargs ) : #NEWLINE# #INDENT# if ( self . name == 'resource_content_type' ) : #NEWLINE# #INDENT# kwargs [ 'queryset' ] = _get_content_type_queryset ( structure_models . Resource . get_all_models ( ) ) #NEWLINE# #UNINDENT# return super ( DefaultPriceListItemAdmin , self ) . formfield_for_foreignkey ( db_field , request , ** kwargs )