Formatting

This commit is contained in:
Mouse Reeve 2021-03-18 09:06:00 -07:00
parent 91aaf704f5
commit 48a5232ebb
2 changed files with 11 additions and 4 deletions

View file

@ -115,7 +115,14 @@ class StatusForm(CustomForm):
class EditUserForm(CustomForm):
class Meta:
model = models.User
fields = ["avatar", "name", "email", "summary", "manually_approves_followers", "show_goal"]
fields = [
"avatar",
"name",
"email",
"summary",
"manually_approves_followers",
"show_goal",
]
help_texts = {f: None for f in fields}

View file

@ -6,13 +6,13 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bookwyrm', '0051_auto_20210316_1950'),
("bookwyrm", "0051_auto_20210316_1950"),
]
operations = [
migrations.AddField(
model_name='user',
name='show_goal',
model_name="user",
name="show_goal",
field=models.BooleanField(default=True),
),
]