def is_valid(self):
        valid = super(UserPasswordForm, self).is_valid()
        if not valid:
            return valid
        if self.cleaned_data['password'] != self.cleaned_data['password2']:
            self._errors['not_match'] = 'Passwords do not match'
            return False
        return True
dataset/ETHPy150Open gunnery/gunnery/gunnery/account/forms.py/UserPasswordForm.is_valid/original