mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
10201 add back deleted line
This commit is contained in:
parent
9671307a65
commit
2074c8b391
@ -313,6 +313,7 @@ class CableTermination(models.Model):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def delete(self, *args, **kwargs):
|
def delete(self, *args, **kwargs):
|
||||||
|
|
||||||
# Delete the cable association on the terminating object
|
# Delete the cable association on the terminating object
|
||||||
termination_model = self.termination._meta.model
|
termination_model = self.termination._meta.model
|
||||||
termination_model.objects.filter(pk=self.termination_id).update(
|
termination_model.objects.filter(pk=self.termination_id).update(
|
||||||
|
Loading…
Reference in New Issue
Block a user