<s> from django . contrib import admin <EOL> from polls . models import Poll , Choice <EOL> class ChoiceInline ( admin . TabularInline ) : <EOL> model = Choice <EOL> extra = <NUM_LIT:3> <EOL> class PollAdmin ( admin . ModelAdmin ) : <EOL> list_display = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> list_filter = [ '<STR_LIT>' ] <EOL> search_fields = [ '<STR_LIT>' ] <EOL> fieldsets = [ <EOL> ( None , { '<STR_LIT>' : [ '<STR_LIT>' ] } ) , <EOL> ( '<STR_LIT>' , { '<STR_LIT>' : [ '<STR_LIT>' ] , '<STR_LIT>' : [ '<STR_LIT>' ] } ) , <EOL> ] <EOL> inlines = [ ChoiceInline ] <EOL> admin . site . register ( Poll , PollAdmin ) </s>
