<s> from django . contrib import admin <EOL> from sellmo . contrib . variation . models import Variation <EOL> class VariationAdmin ( admin . ModelAdmin ) : <EOL> search_fields = [ '<STR_LIT:description>' ] <EOL> list_display = [ '<STR_LIT:description>' , '<STR_LIT>' ] <EOL> list_editable = [ '<STR_LIT>' ] <EOL> def has_add_permission ( self , request ) : <EOL> return False <EOL> admin . site . register ( Variation , VariationAdmin ) </s>
