MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / save

Method save

apps/accounts/forms.py:22–27  ·  view source on GitHub ↗
(self, commit=True)

Source from the content-addressed store, hash-verified

20 fields = ['username', 'groups', 'password1', 'password2', ]
21
22 def save(self, commit=True):
23 user = super().save(commit=False)
24 if commit:
25 user.save()
26 self.save_m2m() # Save the many-to-many field data
27 return user
28
29
30

Callers 9

handle_new_userFunction · 0.45
createMethod · 0.45
updateMethod · 0.45
postMethod · 0.45
meMethod · 0.45
generateMethod · 0.45
revokeMethod · 0.45

Calls

no outgoing calls