def __init__(self, *args, **kwargs):
        super(VoteAuthorizeForm, self).__init__(*args, **kwargs)

        categories = Category.objects.filter(type=TYPE.VOTED).order_by("name")
        for c in categories:
            if c.is_concept:
                queryset=Team.objects.filter(status=STATUS.ACTIVE,
                                project_type=PROJECT_TYPE.CONCEPT).order_by("name")
            elif c.is_implemented:
                queryset=Team.objects.filter(status=STATUS.ACTIVE,
                                project_type=PROJECT_TYPE.IMPLEMENTED).order_by("name")
            else:
                queryset=Team.objects.filter(status=STATUS.ACTIVE).order_by("name")

            self.fields[c.id % 'cat_%s'] = forms.ModelChoiceField(
                queryset=queryset,
                label=c.name,
                empty_label="Select a team",
                required=False)
dataset/ETHPy150Open mpirnat/hackday/hackday/voting/forms.py/VoteAuthorizeForm.__init__/swapped operands of `%`