def METHOD_NAME(self):
    password1 = self.cleaned_data.get('new_pw', '')
    if password1 and validate_password(password1, user=self.user) is not None:
        raise forms.ValidationError(
            _(password_validators_help_texts()),
            code='pw_invalid'
        )
    return password1