mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Merge branch 'ag/3234-test-existing-script' of github.com:cisagov/manage.get.gov into ag/3234-test-existing-script
This commit is contained in:
commit
2865dcde26
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