1 from django
.contrib
import admin
3 from mygpo
.publisher
.models
import PublishedPodcast
6 @admin.register(PublishedPodcast
)
7 class ClientAdmin(admin
.ModelAdmin
):
8 """Admin page for published podcasts"""
10 # configuration for the list view
11 list_display
= ("publisher", "podcast")
13 # fetch the related fields for the list_display
14 list_select_related
= ("publisher", "podcast")
16 raw_id_fields
= ("publisher", "podcast")
18 show_full_result_count
= False