mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 15:06:32 +02:00
Add script to update public contacts
This commit is contained in:
parent
b0d3968077
commit
3bf4807d8c
3 changed files with 51 additions and 13 deletions
|
@ -119,10 +119,11 @@ class PopulateScriptTemplate(ABC):
|
|||
readable_class_name = self.get_class_name(object_class)
|
||||
|
||||
# for use in the execution prompt.
|
||||
proposed_changes = f"""==Proposed Changes==
|
||||
Number of {readable_class_name} objects to change: {len(records)}
|
||||
These fields will be updated on each record: {fields_to_update}
|
||||
"""
|
||||
proposed_changes = (
|
||||
"==Proposed Changes==\n"
|
||||
f"Number of {readable_class_name} objects to change: {len(records)}\n"
|
||||
f"These fields will be updated on each record: {fields_to_update}"
|
||||
)
|
||||
|
||||
if verbose:
|
||||
proposed_changes = f"""{proposed_changes}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue