Enhance Schedule list display
This commit is contained in:
parent
fab25ad0f5
commit
1eb28f2c80
1 changed files with 3 additions and 0 deletions
3
vendor/symposion/schedule/admin.py
vendored
3
vendor/symposion/schedule/admin.py
vendored
|
@ -15,6 +15,9 @@ class SlotKindInline(admin.StackedInline):
|
||||||
class ScheduleAdmin(admin.ModelAdmin):
|
class ScheduleAdmin(admin.ModelAdmin):
|
||||||
model = Schedule
|
model = Schedule
|
||||||
inlines = [DayInline, SlotKindInline, ]
|
inlines = [DayInline, SlotKindInline, ]
|
||||||
|
list_display = ["section","published","hidden"]
|
||||||
|
list_editable = ["published","hidden"]
|
||||||
|
list_filter = ["published","hidden"]
|
||||||
|
|
||||||
|
|
||||||
class SlotRoomInline(admin.TabularInline):
|
class SlotRoomInline(admin.TabularInline):
|
||||||
|
|
Loading…
Reference in a new issue