Procházet zdrojové kódy

Fix `is_path_endpoint` flag on CableTermination

Sander Steffann před 5 roky
rodič
revize
3876efe494
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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']