Remove adding name by GG form

This commit is contained in:
cuom1999 2022-10-15 12:11:20 -05:00
parent af74edecbb
commit d49a41d56b
4 changed files with 5 additions and 16 deletions

View file

@ -52,6 +52,7 @@ def fix_unicode(string, unsafe=tuple("\u202a\u202b\u202d\u202e")):
string + (sum(k in unsafe for k in string) - string.count("\u202c")) * "\u202c"
)
class UserForm(ModelForm):
class Meta:
model = User
@ -59,6 +60,7 @@ class UserForm(ModelForm):
"first_name",
]
class ProfileForm(ModelForm):
if newsletter_id is not None:
newsletter = forms.BooleanField(