Merge pull request #793 from gpodder/remove-advertise
[mygpo.git] / mygpo / publisher / admin.py
blobf1517fb0b9122470313e2365609a21a23434f627
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