(self, commit=True)
| 27 | return password2 |
| 28 | |
| 29 | def save(self, commit=True): |
| 30 | user = super(UserCreationForm, self).save(commit=False) |
| 31 | user.set_password(self.cleaned_data["password1"]) |
| 32 | if commit: |
| 33 | user.save() |
| 34 | return user |
| 35 | |
| 36 | |
| 37 | class UserChangeForm(forms.ModelForm): |
no outgoing calls
no test coverage detected