1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

fix signals update call

This commit is contained in:
John Anderson
2019-08-20 17:20:46 -04:00
parent c359ac5737
commit f0f1ef2ef2

View File

@@ -24,9 +24,9 @@ def clear_virtualchassis_members(instance, **kwargs):
"""
devices = Device.objects.filter(virtual_chassis=instance.pk)
for device in devices:
device.vc_position = None
device.vc_priority = None
device.save()
device.vc_position = None
device.vc_priority = None
device.save()
@receiver(post_save, sender=Cable)