mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
minor test fix
This commit is contained in:
parent
fd061f0f69
commit
e60ae25f12
1 changed files with 0 additions and 4 deletions
|
@ -3079,10 +3079,6 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportRegistrarModelAdmin):
|
||||||
org_flag = flag_is_active_for_user(request.user, "organization_requests")
|
org_flag = flag_is_active_for_user(request.user, "organization_requests")
|
||||||
# Hide FEB fields for non-FEB requests
|
# Hide FEB fields for non-FEB requests
|
||||||
if not (obj and obj.portfolio and obj.is_feb()):
|
if not (obj and obj.portfolio and obj.is_feb()):
|
||||||
logger.debug(f"obj: {obj}")
|
|
||||||
logger.debug(f"obj.portfolio: {obj.portfolio}")
|
|
||||||
logger.debug(f"obj.is_feb(): {obj.is_feb()}")
|
|
||||||
logger.debug(f"feb breakdown: {obj.portfolio.federal_type}")
|
|
||||||
excluded_fields.update(feb_fields)
|
excluded_fields.update(feb_fields)
|
||||||
|
|
||||||
# Hide certain portfolio and suborg fields behind the organization requests flag
|
# Hide certain portfolio and suborg fields behind the organization requests flag
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue