diff --git a/django/db/models/deletion.py b/django/db/models/deletion.py index 1f0334b993a6..fd3d290a9632 100644 --- a/django/db/models/deletion.py +++ b/django/db/models/deletion.py @@ -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)