3 from django
.contrib
import admin
5 from mygpo
.episodestates
.models
import EpisodeState
8 @admin.register(EpisodeState
)
9 class EpisodeStateAdmin(admin
.ModelAdmin
):
10 """ Admin page for subscriptions """
12 # configuration for the list view
13 list_display
= ('user', 'episode', 'action')
15 # fetch the related objects for the fields in list_display
16 list_select_related
= ('user', 'episode', )
18 raw_id_fields
= ('user', 'episode', )