mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Convert RACK_WIDTH_CHOICES to ChoiceSet
This commit is contained in:
@@ -30,6 +30,17 @@ class RackTypeChoices(ChoiceSet):
|
||||
}
|
||||
|
||||
|
||||
class RackWidthChoices(ChoiceSet):
|
||||
|
||||
WIDTH_19IN = 19
|
||||
WIDTH_23IN = 23
|
||||
|
||||
CHOICES = (
|
||||
(WIDTH_19IN, '19 inches'),
|
||||
(WIDTH_23IN, '23 inches'),
|
||||
)
|
||||
|
||||
|
||||
#
|
||||
# Console port type values
|
||||
#
|
||||
|
Reference in New Issue
Block a user