mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 21:44:08 +02:00
Update src/registrar/management/commands/create_federal_portfolio.py
This commit is contained in:
parent
5308217d22
commit
f6e94da968
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class Command(BaseCommand):
|
||||||
f"{len(domain_requests_to_update)} domain requests will be updated. "
|
f"{len(domain_requests_to_update)} domain requests will be updated. "
|
||||||
f"These records will be changed: {[str(req) for req in updated_requests]}"
|
f"These records will be changed: {[str(req) for req in updated_requests]}"
|
||||||
),
|
),
|
||||||
prompt_title="Do wish to commit this update to the database?",
|
prompt_title="Do you wish to commit this update to the database?",
|
||||||
):
|
):
|
||||||
DomainRequest.objects.bulk_update(updated_requests, ["federal_agency"])
|
DomainRequest.objects.bulk_update(updated_requests, ["federal_agency"])
|
||||||
TerminalHelper.colorful_logger(logger.info, TerminalColors.OKBLUE, "Action completed successfully.")
|
TerminalHelper.colorful_logger(logger.info, TerminalColors.OKBLUE, "Action completed successfully.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue