Просмотр исходного кода

Fix `is_path_endpoint` flag on CableTermination

Sander Steffann 5 лет назад
Родитель
Сommit
3876efe494
1 измененных файлов с 3 добавлено и 0 удалено
  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']