<s> from django import forms <EOL> from django . contrib import admin <EOL> from sellmo . apps . customer . models import Customer , CustomerGroup , Address <EOL> class AddressInline ( admin . StackedInline ) : <EOL> model = Address <EOL> extra = <NUM_LIT:0> <EOL> class CustomerAdmin ( admin . ModelAdmin ) : <EOL> list_display = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> inlines = [ AddressInline ] <EOL> raw_id_fields = [ '<STR_LIT:user>' ] <EOL> class CustomerGroupAdmin ( admin . ModelAdmin ) : <EOL> list_display = [ '<STR_LIT:name>' ] <EOL> admin . site . register ( Customer , CustomerAdmin ) <EOL> admin . site . register ( CustomerGroup , CustomerGroupAdmin ) </s>
