1 from __future__
import unicode_literals
3 from django
.contrib
import admin
5 from mygpo
.directory
.models
import ExamplePodcast
8 @admin.register(ExamplePodcast
)
9 class ExamplePodcastAdmin(admin
.ModelAdmin
):
10 """ Admin page for example podcasts """
12 # configuration for the list view
13 list_display
= ('podcast', )
15 # fetch the related objects for the fields in list_display
16 list_select_related
= ('podcast', )
18 raw_id_fields
= ('podcast', )