Skip to content

Commit

Permalink
Merge pull request #877 from uktrade/LTD-1542-dont-remove-unused-objects
Browse files Browse the repository at this point in the history
Don't delete unused denial reasons
  • Loading branch information
wkeeling authored Dec 7, 2021
2 parents d2a80ad + 903dd21 commit aef141d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/staticdata/management/commands/seeddenialreasons.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ def operation(self, *args, **options):
{"id": row["id"], "deprecated": row["deprecated"], "description": row["description"]} for row in csv
]
self.update_or_create(DenialReason, filtered_csv)
self.delete_unused_objects(DenialReason, filtered_csv)

0 comments on commit aef141d

Please sign in to comment.