= Room.objects.all()
roomsList = []
for room in rooms:
for user in room.online.all():
roomsList.append(user.email)
Room. object. value_list['online__email', 'online'].filter(online=True)
Обсуждают сегодня