mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-06 04:27:22 +02:00
Remove max length
This commit is contained in:
parent
d8777c5dae
commit
df3e628e61
2 changed files with 0 additions and 10 deletions
|
@ -369,9 +369,7 @@ class AuthorizingOfficialForm(RegistrarForm):
|
|||
)
|
||||
email = forms.EmailField(
|
||||
label="Email",
|
||||
max_length=254,
|
||||
error_messages={"invalid": ("Enter an email address in the required format, like name@example.com.")},
|
||||
# This validator should exist in the event that a preexisting field is of invalid length
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
254,
|
||||
|
@ -574,9 +572,7 @@ class YourContactForm(RegistrarForm):
|
|||
)
|
||||
email = forms.EmailField(
|
||||
label="Email",
|
||||
max_length=254,
|
||||
error_messages={"invalid": ("Enter your email address in the required format, like name@example.com.")},
|
||||
# This validator should exist in the event that a preexisting field is of invalid length
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
254,
|
||||
|
@ -637,12 +633,10 @@ class OtherContactsForm(RegistrarForm):
|
|||
)
|
||||
email = forms.EmailField(
|
||||
label="Email",
|
||||
max_length=254,
|
||||
error_messages={
|
||||
"required": ("Enter an email address in the required format, like name@example.com."),
|
||||
"invalid": ("Enter an email address in the required format, like name@example.com."),
|
||||
},
|
||||
# This validator should exist in the event that a preexisting field is of invalid length
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
254,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue