Преглед изворни кода

Add circuittermination as a choice for cable endpoint types, which is not in the choices API for cable termination types but is accepted by the application as a valid endpoint for cables

Shane Madden пре 6 година
родитељ
комит
ee4a3bcb02
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      netbox/dcim/constants.py

+ 1 - 1
netbox/dcim/constants.py

@@ -360,7 +360,7 @@ CONNECTION_STATUS_CHOICES = [
 
 # Cable endpoint types
 CABLE_TERMINATION_TYPES = [
-    'consoleport', 'consoleserverport', 'interface', 'poweroutlet', 'powerport', 'frontport', 'rearport',
+    'consoleport', 'consoleserverport', 'interface', 'poweroutlet', 'powerport', 'frontport', 'rearport', 'circuittermination',
 ]
 
 # Cable types