Compressing Nicolle and Alysia migrations with mine to be the one migration that rules them all

This commit is contained in:
Rebecca Hsieh 2023-09-13 15:28:01 -07:00
parent 46acc8382f
commit 6965d593f5
No known key found for this signature in database
GPG key ID: 644527A2F375A379
21 changed files with 204 additions and 284 deletions

View file

@ -310,28 +310,9 @@ class OrganizationContactForm(RegistrarForm):
return federal_agency
class TypeOfWorkForm(RegistrarForm):
type_of_work = forms.CharField(
# label has to end in a space to get the label_suffix to show
label="What type of work does your organization do? ",
widget=forms.Textarea(),
validators=[
MaxLengthValidator(
1000,
message="Response must be less than 1000 characters.",
)
],
error_messages={"required": "Enter the type of work your organization does."},
)
more_organization_information = forms.CharField(
# label has to end in a space to get the label_suffix to show
label=(
"Describe how your organization is a government organization that is"
" independent of a state government. Include links to authorizing"
" legislation, applicable bylaws or charter, or other documentation to"
" support your claims. "
),
class AboutYourOrganizationForm(RegistrarForm):
about_your_organization = forms.CharField(
label="About your organization",
widget=forms.Textarea(),
validators=[
MaxLengthValidator(
@ -340,9 +321,7 @@ class TypeOfWorkForm(RegistrarForm):
)
],
error_messages={
"required": (
"Describe how your organization is independent of a state government."
)
"required": ("Enter more information about your organization.")
},
)