Add filter on room to Slot admin

This commit is contained in:
James Polley 2018-01-10 15:53:43 +11:00
parent c15848bfce
commit 23f4a38126

View file

@ -26,7 +26,7 @@ class SlotRoomInline(admin.TabularInline):
class SlotAdmin(admin.ModelAdmin): class SlotAdmin(admin.ModelAdmin):
list_filter = ("day", "kind","exclusive") list_filter = ("day", "kind","exclusive","slotroom__room")
list_display = ("day", "start", "end", "kind", "room_names", list_display = ("day", "start", "end", "kind", "room_names",
"content_override","exclusive") "content_override","exclusive")
list_editable = ("exclusive",) list_editable = ("exclusive",)