[Tests] track coverage of templates
[mygpo.git] / mygpo / directory / admin.py
blobc0fc024841ab746336138a0741109a2e7252221a
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', )