mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-31 09:43:54 +02:00
Model update and migration and subsequent variable and wording changes
This commit is contained in:
parent
370480572e
commit
696941aba7
11 changed files with 68 additions and 85 deletions
|
@ -378,27 +378,12 @@ 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",
|
||||
help_text="Information about your organization",
|
||||
)
|
||||
|
||||
# TODO-446:
|
||||
# about_your_organization = models.TextField(
|
||||
# null=True,
|
||||
# blank=True,
|
||||
# help_text="Information about your organization",
|
||||
# )
|
||||
|
||||
more_organization_information = models.TextField(
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="More information about your organization",
|
||||
)
|
||||
|
||||
# TODO-446: Remove above bc we don't need this textbox anymore
|
||||
|
||||
authorizing_official = models.ForeignKey(
|
||||
"registrar.Contact",
|
||||
null=True,
|
||||
|
@ -662,8 +647,7 @@ class DomainApplication(TimeStampedModel):
|
|||
]
|
||||
return bool(user_choice and user_choice not in excluded)
|
||||
|
||||
# TODO-446: Rename to show_about_your_organization
|
||||
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 [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue