

def save_m2m(self):
    choices = self.cleaned_data['choices']
    if (not self.poll.is_multiple_choice):
        choices = [choices]
    CommentPollVote.objects.filter(voter=self.user, choice__poll=self.poll).update(is_removed=True)
    for choice_id in choice_id:
        CommentPollVote.objects.update_or_create(voter=self.user, choice_id=choice_id, defaults={
            'is_removed': False,
        })

dataset/ETHPy150Open nitely/Spirit/spirit/comment/poll/forms.py PollVoteManyForm.save_m2m/VarMisuse@67/85 `choices`->`choice_id`