Merge branch 'main' into jon/425

This commit is contained in:
Jon Roberts 2023-02-27 13:24:06 -07:00
commit e213c7388b
No known key found for this signature in database
GPG key ID: EED093582198B041
8 changed files with 62 additions and 15 deletions

View file

@ -538,6 +538,10 @@ class DomainApplication(TimeStampedModel):
DomainApplication.OrganizationChoices.INTERSTATE,
]
def show_no_other_contacts_rationale(self) -> bool:
"""Show this step if the other contacts are blank."""
return not self.other_contacts.exists()
def is_federal(self) -> Union[bool, None]:
"""Is this application for a federal agency?