formatted code for readability

This commit is contained in:
David Kennedy 2024-10-10 06:12:30 -04:00
parent 616bdf2584
commit da96454365
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
3 changed files with 7 additions and 7 deletions

View file

@ -37,7 +37,7 @@ class DomainAddUserForm(forms.Form):
max_length=None, max_length=None,
error_messages={ error_messages={
"invalid": ("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."),
"required": ("Enter an email address in the required format, like name@example.com.") "required": ("Enter an email address in the required format, like name@example.com."),
}, },
validators=[ validators=[
MaxLengthValidator( MaxLengthValidator(
@ -465,8 +465,8 @@ class DomainOrgNameAddressForm(forms.ModelForm):
) )
], ],
error_messages={ error_messages={
'required': "Enter a 5-digit or 9-digit zip code, like 12345 or 12345-6789.", "required": "Enter a 5-digit or 9-digit zip code, like 12345 or 12345-6789.",
} },
) )
class Meta: class Meta:

View file

@ -228,7 +228,7 @@ class SeniorOfficialForm(RegistrarForm):
max_length=None, max_length=None,
error_messages={ error_messages={
"invalid": ("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."),
"required": ("Enter an email address in the required format, like name@example.com.") "required": ("Enter an email address in the required format, like name@example.com."),
}, },
validators=[ validators=[
MaxLengthValidator( MaxLengthValidator(
@ -607,7 +607,7 @@ class CisaRepresentativeForm(BaseDeletableRegistrarForm):
required=False, required=False,
error_messages={ error_messages={
"invalid": ("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."),
"required": ("Enter an email address in the required format, like name@example.com.") "required": ("Enter an email address in the required format, like name@example.com."),
}, },
validators=[ validators=[
MaxLengthValidator( MaxLengthValidator(

View file

@ -21,8 +21,8 @@ class PortfolioOrgAddressForm(forms.ModelForm):
) )
], ],
error_messages={ error_messages={
'required': "Enter a 5-digit or 9-digit zip code, like 12345 or 12345-6789.", "required": "Enter a 5-digit or 9-digit zip code, like 12345 or 12345-6789.",
} },
) )
class Meta: class Meta: