Browse Source

Fixes #9333: Annotate unit on interface speed field

jeremystretch 3 năm trước cách đây
mục cha
commit
e759e123ac
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      netbox/dcim/models/device_components.py

+ 2 - 1
netbox/dcim/models/device_components.py

@@ -543,7 +543,8 @@ class Interface(ModularComponentModel, BaseInterface, LinkTermination, PathEndpo
     )
     speed = models.PositiveIntegerField(
         blank=True,
-        null=True
+        null=True,
+        verbose_name='Speed (Kbps)'
     )
     duplex = models.CharField(
         max_length=50,