Parcourir la source

Update choices.py

Brian Ellwood il y a 5 ans
Parent
commit
1c38d63c50
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      netbox/dcim/choices.py

+ 2 - 2
netbox/dcim/choices.py

@@ -342,7 +342,7 @@ class PowerPortTypeChoices(ChoiceSet):
     # Proprietary
     # Proprietary
     TYPE_SAF_D_GRID = 'saf-d-grid'
     TYPE_SAF_D_GRID = 'saf-d-grid'
     # Other
     # Other
-    TYPE_OTHER = 'other'
+    TYPE_HARDWIRED = 'hardwired'
 
 
     CHOICES = (
     CHOICES = (
         ('IEC 60320', (
         ('IEC 60320', (
@@ -450,7 +450,7 @@ class PowerPortTypeChoices(ChoiceSet):
             (TYPE_SAF_D_GRID, 'Saf-D-Grid'),
             (TYPE_SAF_D_GRID, 'Saf-D-Grid'),
         )),
         )),
         ('Other', (
         ('Other', (
-            (TYPE_OTHER, 'Other'),
+            (TYPE_HARDWIRED, 'Hardwired'),
         )),
         )),
     )
     )