Enhance track admin
This commit is contained in:
parent
c7e29b3cb1
commit
a880bc27fb
1 changed files with 7 additions and 1 deletions
8
vendor/symposion/schedule/admin.py
vendored
8
vendor/symposion/schedule/admin.py
vendored
|
@ -42,6 +42,12 @@ class PresentationAdmin(admin.ModelAdmin):
|
||||||
model = Presentation
|
model = Presentation
|
||||||
list_filter = ("section", "cancelled", "slot")
|
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(Day)
|
||||||
admin.site.register(
|
admin.site.register(
|
||||||
|
@ -58,4 +64,4 @@ admin.site.register(Slot, SlotAdmin)
|
||||||
admin.site.register(Session)
|
admin.site.register(Session)
|
||||||
admin.site.register(SessionRole)
|
admin.site.register(SessionRole)
|
||||||
admin.site.register(Presentation, PresentationAdmin)
|
admin.site.register(Presentation, PresentationAdmin)
|
||||||
admin.site.register(Track)
|
admin.site.register(Track, TrackAdmin)
|
||||||
|
|
Loading…
Reference in a new issue