Explorar el Código

Fix `is_path_endpoint` flag on CableTermination

Sander Steffann hace 5 años
padre
commit
3876efe494
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      netbox/circuits/models.py

+ 3 - 0
netbox/circuits/models.py

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