Show errors in edit user form and remove email
email was triggering the form to reject becuase of uniqueness
This commit is contained in:
@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user