Enhance track admin

This commit is contained in:
James Polley 2017-12-03 18:11:39 +11:00
parent c7e29b3cb1
commit a880bc27fb

View file

@ -42,6 +42,12 @@ class PresentationAdmin(admin.ModelAdmin):
model = Presentation
list_filter = ("section", "cancelled", "slot")
class TrackAdmin(admin.ModelAdmin):
model = Track
list_filter=("room","day")
list_display=("name","room","day")
list_editable=("room","day")
admin.site.register(Day)
admin.site.register(
@ -58,4 +64,4 @@ admin.site.register(Slot, SlotAdmin)
admin.site.register(Session)
admin.site.register(SessionRole)
admin.site.register(Presentation, PresentationAdmin)
admin.site.register(Track)
admin.site.register(Track, TrackAdmin)