MCPcopy
hub / github.com/bugsink/bugsink / save

Method save

users/forms.py:99–105  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

97 return self.cleaned_data['username']
98
99 def save(self, **kwargs):
100 commit = kwargs.pop("commit", True)
101 user = super().save(commit=False)
102 user.email = user.username
103 if commit:
104 user.save()
105 return user
106
107
108class ResendConfirmationForm(forms.Form):

Callers 7

user_editFunction · 0.95
saveMethod · 0.45
user_listFunction · 0.45
signupFunction · 0.45
confirm_emailFunction · 0.45
reset_passwordFunction · 0.45
preferencesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected