mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-09 14:04:44 +02:00
Fix linting and tets
This commit is contained in:
parent
696941aba7
commit
34a2f39fdf
8 changed files with 35 additions and 73 deletions
|
@ -309,6 +309,7 @@ class OrganizationContactForm(RegistrarForm):
|
|||
)
|
||||
return federal_agency
|
||||
|
||||
|
||||
class AboutYourOrganizationForm(RegistrarForm):
|
||||
about_your_organization = forms.CharField(
|
||||
label="About your organization",
|
||||
|
@ -319,12 +320,14 @@ class AboutYourOrganizationForm(RegistrarForm):
|
|||
message="Response must be less than 1000 characters.",
|
||||
)
|
||||
],
|
||||
# TODO-446: Confirm if this error message wording is ok, prev was "Enter the type of work your organization does."
|
||||
# TODO-446: Confirm if err msg wording is ok, previously
|
||||
# TODO-446: "Enter the type of work your organization does."
|
||||
error_messages={
|
||||
"required": ("Enter information about your organization.")
|
||||
"required": ("Enter the information about your organization.")
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
class AuthorizingOfficialForm(RegistrarForm):
|
||||
def to_database(self, obj):
|
||||
if not self.is_valid():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue