Ejemplo n.º 1
0
    def availabilities(self):
        """The intersection of all :class:`~pretalx.schedule.models.availability.Availability` objects of all speakers of this submission."""
        from pretalx.schedule.models.availability import Availability

        all_availabilities = self.event.availabilities.filter(
            person__in=self.speaker_profiles)
        return Availability.intersection(all_availabilities)
Ejemplo n.º 2
0
    def availabilities(self):
        from pretalx.schedule.models.availability import Availability

        all_availabilities = self.event.availabilities.filter(
            person__in=self.speaker_profiles)
        return Availability.intersection(all_availabilities)