<s> from django . contrib import admin <EOL> from tracks . models import Badge , Chapter , Track , TrackCategory , Exercise , ExerciseSubmission <EOL> class TrackAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:name>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> prepopulated_fields = { '<STR_LIT>' : ( '<STR_LIT:name>' , ) } <EOL> class TrackCategoryAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:name>' , ) <EOL> prepopulated_fields = { '<STR_LIT>' : ( '<STR_LIT:name>' , ) } <EOL> class ChapterAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:name>' , '<STR_LIT>' ) <EOL> prepopulated_fields = { '<STR_LIT>' : ( '<STR_LIT:name>' , ) } <EOL> class ExerciseAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:title>' , ) <EOL> class ExerciseSubmissionAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , ) <EOL> class BadgeAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:name>' , '<STR_LIT>' ) <EOL> admin . site . register ( Track , TrackAdmin ) <EOL> admin . site . register ( TrackCategory , TrackCategoryAdmin ) <EOL> admin . site . register ( Chapter , ChapterAdmin ) <EOL> admin . site . register ( Exercise , ExerciseAdmin ) <EOL> admin . site . register ( ExerciseSubmission , ExerciseSubmissionAdmin ) <EOL> admin . site . register ( Badge , BadgeAdmin ) </s>
