def clean(self):
        if any(self.errors):
            return
        if not self.user:
            self._errors['confirm'] = [_("No user has been set")]
            raise forms.ValidationError()
        Team.objects.convert_from_user(self.user)
        return super(UserConvertToTeamForm, self).clean()
Cleans ``confirm`` field. If checked and ``user`` attribute has been
dataset/ETHPy150Open lukaszb/django-projector/projector/forms.py/UserConvertToTeamForm.clean