mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-30 06:26:34 +02:00
First complete pass
This commit is contained in:
parent
50d1abf253
commit
f054cfa5cf
5 changed files with 78 additions and 11 deletions
|
@ -86,7 +86,7 @@ class PopulateScriptTemplate(ABC):
|
|||
You must define update_record before you can use this function.
|
||||
"""
|
||||
|
||||
records = object_class.objects.filter(**filter_conditions)
|
||||
records = object_class.objects.filter(**filter_conditions) if filter_conditions else object_class.objects.all()
|
||||
readable_class_name = self.get_class_name(object_class)
|
||||
|
||||
# Code execution will stop here if the user prompts "N"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue