Run 2to3-3.4
[mygpo.git] / mygpo / episodestates / admin.py
blob7cde2ddc099a63148c24f927da9a7b6c89eda02d
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', )