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

@ -378,16 +378,10 @@ class DomainApplication(TimeStampedModel):
help_text="Urbanization (Puerto Rico only)",
)
type_of_work = models.TextField(
about_your_organization = models.TextField(
null=True,
blank=True,
help_text="Type of work of the organization",
)
more_organization_information = models.TextField(
null=True,
blank=True,
help_text="More information about your organization",
help_text="Information about your organization",
)
authorizing_official = models.ForeignKey(
@ -653,7 +647,7 @@ class DomainApplication(TimeStampedModel):
]
return bool(user_choice and user_choice not in excluded)
def show_type_of_work(self) -> bool:
def show_about_your_organization(self) -> bool:
"""Show this step if this is a special district or interstate."""
user_choice = self.organization_type
return user_choice in [