Browse Source

Fix `is_path_endpoint` flag on CableTermination

Sander Steffann 5 years ago
parent
commit
3876efe494
1 changed files with 3 additions and 0 deletions
  1. 3 0
      netbox/circuits/models.py

+ 3 - 0
netbox/circuits/models.py

@@ -300,6 +300,9 @@ class CircuitTermination(CableTermination):
         blank=True
         blank=True
     )
     )
 
 
+    # Paths do not end on cable terminations, they continue at the other end of the circuit
+    is_path_endpoint = False
+
     class Meta:
     class Meta:
         ordering = ['circuit', 'term_side']
         ordering = ['circuit', 'term_side']
         unique_together = ['circuit', 'term_side']
         unique_together = ['circuit', 'term_side']