Skip to content

Commit f7b1552

Browse files
Add attendees_total_capacity field to RoomAdmin
Co-authored-by: Marco Acierno <marcoacierno@users.noreply.github.com>
1 parent eb5053e commit f7b1552

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backend/schedule/admin.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,14 @@ class RoomAdmin(OrderedModelAdmin):
672672
list_display = (
673673
"name",
674674
"type",
675+
"attendees_total_capacity",
675676
)
676677
list_filter = ("type",)
678+
fields = (
679+
"name",
680+
"type",
681+
"attendees_total_capacity",
682+
)
677683

678684

679685
class DayRoomThroughModelInline(OrderedTabularInline):

0 commit comments

Comments
 (0)