Show errors in edit user form and remove email
email was triggering the form to reject becuase of uniqueness
This commit is contained in:
parent
6dd56eb894
commit
19d000aec7
3 changed files with 19 additions and 7 deletions
|
@ -99,7 +99,7 @@ class EditUserForm(CustomForm):
|
|||
class Meta:
|
||||
model = models.User
|
||||
fields = [
|
||||
'avatar', 'name', 'email', 'summary', 'manually_approves_followers'
|
||||
'avatar', 'name', 'summary', 'manually_approves_followers'
|
||||
]
|
||||
help_texts = {f: None for f in fields}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue