<s> from django . contrib import admin <EOL> from basic . events . models import * <EOL> class EventTimeInline ( admin . StackedInline ) : <EOL> model = EventTime <EOL> fk = '<STR_LIT>' <EOL> class EventAdmin ( admin . ModelAdmin ) : <EOL> prepopulated_fields = { '<STR_LIT>' : ( '<STR_LIT:title>' , ) } <EOL> list_display = ( '<STR_LIT:title>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> inlines = [ <EOL> EventTimeInline <EOL> ] <EOL> admin . site . register ( Event , EventAdmin ) </s>
