mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-13 06:28:24 +02:00
fix script
This commit is contained in:
parent
e798410ac4
commit
df3f37bf40
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ class Command(BaseCommand, PopulateScriptTemplate):
|
|||
self.federal_agency_dict[agency_name.strip()] = (initials, agency_status)
|
||||
|
||||
# Update every federal agency record
|
||||
self.mass_update_records(FederalAgency, {"agency__isnull": False}, ["initials", "is_fceb"])
|
||||
self.mass_update_records(FederalAgency, {"agency__isnull": False}, ["acronym", "is_fceb"])
|
||||
|
||||
def update_record(self, record: FederalAgency):
|
||||
"""For each record, update the initials and is_fceb field if data exists for it"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue