Skip to content

Commit

Permalink
Remove default required & strip from FullNameFormMixin
Browse files Browse the repository at this point in the history
These values are the default, let’s use them.
  • Loading branch information
francoisfreitag committed Apr 25, 2024
1 parent 2b16b5e commit cf91bfe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions itou/www/signup/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,11 @@ class FullnameFormMixin(forms.Form):
first_name = forms.CharField(
label="Prénom",
max_length=User._meta.get_field("first_name").max_length,
required=True,
strip=True,
)

last_name = forms.CharField(
label="Nom",
max_length=User._meta.get_field("last_name").max_length,
required=True,
strip=True,
)


Expand Down

0 comments on commit cf91bfe

Please sign in to comment.