add to schedule admin
This commit is contained in:
parent
91ae3de6df
commit
7cff2d8b1d
1 changed files with 14 additions and 4 deletions
|
@ -5,11 +5,18 @@ from symposion.schedule.models import Schedule, Day, Room, SlotKind, Slot, SlotR
|
||||||
|
|
||||||
admin.site.register(Schedule)
|
admin.site.register(Schedule)
|
||||||
admin.site.register(Day)
|
admin.site.register(Day)
|
||||||
admin.site.register(Room)
|
admin.site.register(
|
||||||
admin.site.register(SlotKind)
|
Room,
|
||||||
|
list_display=("name", "order", "schedule"),
|
||||||
|
list_filter=("schedule",)
|
||||||
|
)
|
||||||
|
admin.site.register(
|
||||||
|
SlotKind,
|
||||||
|
list_display=("label", "schedule"),
|
||||||
|
)
|
||||||
admin.site.register(
|
admin.site.register(
|
||||||
Slot,
|
Slot,
|
||||||
list_display=("day", "start", "end", "kind")
|
list_display=("day", "start", "end", "kind", "content")
|
||||||
)
|
)
|
||||||
admin.site.register(
|
admin.site.register(
|
||||||
SlotRoom,
|
SlotRoom,
|
||||||
|
@ -17,4 +24,7 @@ admin.site.register(
|
||||||
)
|
)
|
||||||
admin.site.register(Session)
|
admin.site.register(Session)
|
||||||
admin.site.register(SessionRole)
|
admin.site.register(SessionRole)
|
||||||
admin.site.register(Presentation)
|
admin.site.register(
|
||||||
|
Presentation,
|
||||||
|
list_filter=("section", "cancelled", "slot")
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue