Explorar el Código

Update choices.py

Brian Ellwood hace 4 años
padre
commit
1c38d63c50
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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'),
         )),
         )),
     )
     )