mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 11:38:39 +02:00
Update create_federal_portfolio.py
This commit is contained in:
parent
02bc0cba1a
commit
8732af18d9
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Command(BaseCommand):
|
|||
message = "Portfolios not added to domain requests: no valid records found"
|
||||
TerminalHelper.colorful_logger(logger.info, TerminalColors.YELLOW, message)
|
||||
return None
|
||||
|
||||
|
||||
# Get all suborg information and store it in a dict to avoid doing a db call
|
||||
suborgs = Suborganization.objects.filter(portfolio=portfolio).in_bulk(field_name="name")
|
||||
for domain_request in domain_requests:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue