Quellcode durchsuchen

Fix `is_path_endpoint` flag on CableTermination

Sander Steffann vor 6 Jahren
Ursprung
Commit
3876efe494
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  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']