1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2025-06-07 13:22:23 +00:00

move room detection to room uuid

This commit is contained in:
Franzi 2024-10-31 21:46:55 +01:00
parent 6a3b1b309e
commit dfa0945632
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 24 additions and 28 deletions

View file

@ -21,6 +21,10 @@ class BroadcastToolsEventInfoView(View):
else False
),
},
"rooms": {
str(room.uuid): room.name.localize(self.request.event.locale)
for room in self.request.event.rooms.all()
},
"slug": self.request.event.slug,
"start": self.request.event.date_from.isoformat(),
"end": self.request.event.date_to.isoformat(),