First complete pass

This commit is contained in:
matthewswspence 2024-08-16 15:35:58 -05:00
parent 50d1abf253
commit f054cfa5cf
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
5 changed files with 78 additions and 11 deletions

View file

@ -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"