Enable slot admin editable grid
This commit is contained in:
parent
0d6890c849
commit
eb1193b265
1 changed files with 4 additions and 2 deletions
6
vendor/symposion/schedule/admin.py
vendored
6
vendor/symposion/schedule/admin.py
vendored
|
@ -32,8 +32,10 @@ update_slot_names.short_description = "Update slot names"
|
|||
|
||||
|
||||
class SlotAdmin(admin.ModelAdmin):
|
||||
list_filter = ("day", "kind","exclusive","slotroom__room")
|
||||
list_display = ("day", "start", "end", "kind", "room_names", "content_override", "exclusive")
|
||||
list_filter = ("day", "kind", "exclusive", "slotroom__room")
|
||||
list_display = ("day", "start", "end", "kind", "room_names",
|
||||
"content_override", "exclusive")
|
||||
list_editable = ("exclusive", "kind", "start", "end")
|
||||
inlines = [SlotRoomInline]
|
||||
actions = [update_slot_names]
|
||||
|
||||
|
|
Loading…
Reference in a new issue