<s> from __future__ import unicode_literals <EOL> from django . contrib import admin <EOL> from project . models import Project , ProjectRelease , Person <EOL> class PersonAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> search_fields = ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> class ProjectReleaseInline ( admin . StackedInline ) : <EOL> model = ProjectRelease <EOL> extra = <NUM_LIT:0> <EOL> class ProjectAdmin ( admin . ModelAdmin ) : <EOL> fields = [ '<STR_LIT:name>' , '<STR_LIT>' , '<STR_LIT:url>' ] <EOL> inlines = [ ProjectReleaseInline ] <EOL> admin . site . register ( Project , ProjectAdmin ) <EOL> admin . site . register ( Person , PersonAdmin ) </s>
