Remove adding name by GG form
This commit is contained in:
parent
af74edecbb
commit
d49a41d56b
4 changed files with 5 additions and 16 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue