Show errors in edit user form and remove email

email was triggering the form to reject becuase of uniqueness
This commit is contained in:
Mouse Reeve
2020-10-04 16:00:50 -07:00
parent 6dd56eb894
commit 19d000aec7
3 changed files with 19 additions and 7 deletions

View File

@ -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}