mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
Add better comment
This commit is contained in:
parent
47e59c57da
commit
af22542b94
1 changed files with 7 additions and 1 deletions
|
@ -64,7 +64,13 @@ class Command(BaseCommand, PopulateScriptTemplate):
|
||||||
self.mass_update_records(PublicContact, filter_condition, fields_to_update, show_record_count=True)
|
self.mass_update_records(PublicContact, filter_condition, fields_to_update, show_record_count=True)
|
||||||
|
|
||||||
def bulk_update_fields(self, *args, **kwargs):
|
def bulk_update_fields(self, *args, **kwargs):
|
||||||
"""Skip bulk update since we need to manually save each field"""
|
"""Skip bulk update since we need to manually save each field.
|
||||||
|
Our EPP logic is tied to an override of .save(), and this also associates
|
||||||
|
with our caching logic for this area of the code.
|
||||||
|
|
||||||
|
Since bulk update does not trigger .save() for each field, we have to
|
||||||
|
call it manually.
|
||||||
|
"""
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def update_record(self, record: PublicContact):
|
def update_record(self, record: PublicContact):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue