mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-06 19:23:23 +02:00
Update src/registrar/views/application.py
Co-authored-by: Alysia Broddrick <109625347+abroddrick@users.noreply.github.com>
This commit is contained in:
parent
8a75c8fcd6
commit
c07e83b77d
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ class DomainApplicationDeleteView(DomainApplicationPermissionDeleteView):
|
|||
submitter = self._get_contacts_by_id([submitter.id]).first() if submitter is not None else None
|
||||
other_contacts = self._get_contacts_by_id(other_contact_ids)
|
||||
|
||||
# Pair each contact with its related name
|
||||
# Pair each contact with its db related name for use in checking if it has joins
|
||||
checked_contacts = [(ao, "authorizing_official"), (submitter, "submitted_applications")]
|
||||
checked_contacts.extend((contact, "contact_applications") for contact in other_contacts)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue