Merge pull request #822 from sim6/add_kasts_in_clients_documentation
[mygpo.git] / mygpo / directory / admin.py
blobf5101691e171ecee9d2ef378b56dfb676c0173a5
1 from django.contrib import admin
3 from mygpo.directory.models import ExamplePodcast
6 @admin.register(ExamplePodcast)
7 class ExamplePodcastAdmin(admin.ModelAdmin):
8 """Admin page for example podcasts"""
10 # configuration for the list view
11 list_display = ("podcast",)
13 # fetch the related objects for the fields in list_display
14 list_select_related = ("podcast",)
16 raw_id_fields = ("podcast",)