<s> from django . contrib import admin <EOL> from lists . models import List <EOL> class PackageInline ( admin . TabularInline ) : <EOL> model = List . packages . through <EOL> raw_id_fields = [ "<STR_LIT>" ] <EOL> extra = <NUM_LIT:0> <EOL> class ListAdmin ( admin . ModelAdmin ) : <EOL> list_display = [ "<STR_LIT:name>" , "<STR_LIT:user>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> list_filter = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> search_fields = [ "<STR_LIT:name>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> raw_id_fields = [ "<STR_LIT:user>" ] <EOL> exclude = [ "<STR_LIT>" ] <EOL> inlines = [ <EOL> PackageInline , <EOL> ] <EOL> admin . site . register ( List , ListAdmin ) </s>
