@property
    def elected(self):
        return self.related_users.filter(
            assignmentrelateduser__elected=True)
Queryset that represents all elected users for the assignment.
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/assignments/models.py/Assignment.elected