Skip to content

Commit

Permalink
actually delete old divisions
Browse files Browse the repository at this point in the history
Signed-off-by: John Seekins <[email protected]>
  • Loading branch information
John Seekins committed Jul 19, 2023
1 parent 1fd594b commit 098b03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djapp/geo/management/commands/clean_divisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ def handle(self, *args, **options):
# don't try to delete when there aren't any additional divisions
if to_delete:
print(f"Deleting {len(to_delete)} divisions from DB")
# Division.objects.exclude(id__in=ocd_ids).delete()
Division.objects.exclude(id__in=ocd_ids).delete()

0 comments on commit 098b03f

Please sign in to comment.