Skip to content

Commit

Permalink
add to schedule admin
Browse files Browse the repository at this point in the history
  • Loading branch information
codersquid committed Jul 15, 2015
1 parent 91ae3de commit 7cff2d8
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions symposion/schedule/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,26 @@

admin.site.register(Schedule)
admin.site.register(Day)
admin.site.register(Room)
admin.site.register(SlotKind)
admin.site.register(
Room,
list_display=("name", "order", "schedule"),
list_filter=("schedule",)
)
admin.site.register(
SlotKind,
list_display=("label", "schedule"),
)
admin.site.register(
Slot,
list_display=("day", "start", "end", "kind")
list_display=("day", "start", "end", "kind", "content")
)
admin.site.register(
SlotRoom,
list_display=("slot", "room")
)
admin.site.register(Session)
admin.site.register(SessionRole)
admin.site.register(Presentation)
admin.site.register(
Presentation,
list_filter=("section", "cancelled", "slot")
)

0 comments on commit 7cff2d8

Please sign in to comment.