Compare commits

...

1 Commits

Author SHA1 Message Date
Arthur
487550d487 21277 call snapshot in ClusterAddDevicesView to correctly record ObjectChange data 2026-02-12 15:09:59 -08:00

View File

@@ -320,6 +320,7 @@ class ClusterAddDevicesView(generic.ObjectEditView):
# Assign the selected Devices to the Cluster
for device in Device.objects.filter(pk__in=device_pks):
device.snapshot()
device.cluster = cluster
device.save()