mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-30 22:46:30 +02:00
lint
This commit is contained in:
parent
ba2788014b
commit
463632baf7
1 changed files with 3 additions and 4 deletions
|
@ -72,10 +72,9 @@ class RequestingEntityForm(RegistrarForm):
|
|||
self.fields["sub_organization"].queryset = queryset
|
||||
|
||||
# Modify the choices to include "other" so that form can display options properly
|
||||
self.fields["sub_organization"].choices = (
|
||||
[(obj.id, str(obj)) for obj in queryset]
|
||||
+ [("other", "Other (enter your suborganization manually)")]
|
||||
)
|
||||
self.fields["sub_organization"].choices = [(obj.id, str(obj)) for obj in queryset] + [
|
||||
("other", "Other (enter your suborganization manually)")
|
||||
]
|
||||
|
||||
@classmethod
|
||||
def from_database(cls, obj: DomainRequest | Contact | None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue