From eb1193b26516d8bf7c9c908c54101a42dd1d8ae5 Mon Sep 17 00:00:00 2001 From: Joel Addison Date: Sun, 15 Dec 2019 14:49:46 +1000 Subject: [PATCH] Enable slot admin editable grid --- vendor/symposion/schedule/admin.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vendor/symposion/schedule/admin.py b/vendor/symposion/schedule/admin.py index 2fd6d7ea..f9ddcd9d 100644 --- a/vendor/symposion/schedule/admin.py +++ b/vendor/symposion/schedule/admin.py @@ -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]