mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 17:47:02 +02:00
linted
This commit is contained in:
parent
2a90335499
commit
1dfc68ce47
5 changed files with 14 additions and 19 deletions
|
@ -2490,12 +2490,11 @@ class PortfolioAdmin(ListHeaderAdmin):
|
|||
is_federal = obj.organization_type == DomainRequest.OrganizationChoices.FEDERAL
|
||||
if is_federal:
|
||||
obj.organization_name = obj.organization_type
|
||||
#NOTE: What is meant by "federal agency text name?"
|
||||
# NOTE: What is meant by "federal agency text name?"
|
||||
|
||||
super().save_model(request, obj, form, change)
|
||||
|
||||
|
||||
|
||||
class FederalAgencyAdmin(ListHeaderAdmin):
|
||||
list_display = ["agency"]
|
||||
search_fields = ["agency"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue