fixing linting errors

This commit is contained in:
Kristina Yin 2023-11-22 11:39:46 -08:00
parent 3ad42bf42e
commit 2de28edcc4
No known key found for this signature in database
GPG key ID: 9BB3845BB3A21584
2 changed files with 1 additions and 4 deletions

View file

@ -638,4 +638,3 @@ class RequirementsForm(RegistrarForm):
"required": ("Check the box if you read and agree to the requirements for operating .gov domains.")
},
)

View file

@ -153,7 +153,7 @@ class ContactForm(forms.ModelForm):
for field_name in self.required:
self.fields[field_name].required = True
# Set custom form label
self.fields["middle_name"].label = "Middle name (optional)"
@ -195,7 +195,6 @@ class AuthorizingOfficialContactForm(ContactForm):
class DomainSecurityEmailForm(forms.Form):
"""Form for adding or editing a security email to a domain."""
security_email = forms.EmailField(
label="Security email (optional)",
required=False,
@ -205,7 +204,6 @@ class DomainSecurityEmailForm(forms.Form):
)
class DomainOrgNameAddressForm(forms.ModelForm):
"""Form for updating the organization name and mailing address."""