cleanup
Some checks are pending
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
CI / build (20.x, 3.14) (push) Waiting to run

This commit is contained in:
Arthur
2026-01-21 16:44:48 -08:00
parent 91ab818411
commit b0ac55ed6a

View File

@@ -901,7 +901,7 @@ class BulkRenameView(GetReturnURLMixin, BaseMultiObjectView):
for obj in selected_objects:
setattr(obj, self.field_name, obj.new_name)
obj.save()
# Rebuild the tree to apply order_insertion_by after renaming
self.queryset.model.objects.rebuild()
else:
for obj in selected_objects: