change osusers.admin.UserCreationForm.save_m2m
- replace pass with a doc string to explain why this method does nothing
This commit is contained in:
parent
773dbea0fe
commit
5cc86b4790
1 changed files with 4 additions and 1 deletions
|
@ -84,7 +84,10 @@ class UserCreationForm(forms.ModelForm):
|
|||
return user
|
||||
|
||||
def save_m2m(self):
|
||||
pass
|
||||
"""
|
||||
No additional groups are created when this form is saved, so this
|
||||
method just does nothing.
|
||||
"""
|
||||
|
||||
|
||||
class UserAdmin(admin.ModelAdmin):
|
||||
|
|
Loading…
Reference in a new issue