Skip to content

Commit

Permalink
Delete line
Browse files Browse the repository at this point in the history
  • Loading branch information
csirmazbendeguz committed Mar 29, 2024
1 parent 61f6984 commit d08ecb3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion django/db/models/deletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,5 +515,4 @@ def delete(self):
for model, instances in self.data.items():
for instance in instances:
setattr(instance, model._meta.pk.attname, None)

return sum(deleted_counter.values()), dict(deleted_counter)

0 comments on commit d08ecb3

Please sign in to comment.