def save(self):
        password1 = self.cleaned_data['new_password']
        self.user.set_password(password1)
        return self.user.save()
Save
dataset/ETHPy150Open treeio/treeio/treeio/account/forms.py/AccountPasswordForm.save