Add field manually_approves_followers to db.

This commit is contained in:
Adam Kelly
2020-03-09 20:11:44 +00:00
parent a0f1880f37
commit 971186ef3a
4 changed files with 21 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class CommentForm(ModelForm):
class EditUserForm(ModelForm):
class Meta:
model = models.User
fields = ['avatar', 'name', 'summary']
fields = ['avatar', 'name', 'summary', 'manually_approves_followers']
help_texts = {f: None for f in fields}