1 from django
.contrib
import admin
3 from mygpo
.episodestates
.models
import EpisodeState
6 @admin.register(EpisodeState
)
7 class EpisodeStateAdmin(admin
.ModelAdmin
):
8 """Admin page for subscriptions"""
10 # configuration for the list view
11 list_display
= ("user", "episode", "action")
13 # fetch the related objects for the fields in list_display
14 list_select_related
= ("user", "episode")
16 raw_id_fields
= ("user", "episode")
18 show_full_result_count
= False