mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 16:18:16 -06:00
11969 remove airflow from racktype
This commit is contained in:
parent
18ea7a850a
commit
48897f3daf
@ -64,11 +64,6 @@ class RackTypeSerializer(RackBaseSerializer):
|
|||||||
manufacturer = ManufacturerSerializer(
|
manufacturer = ManufacturerSerializer(
|
||||||
nested=True
|
nested=True
|
||||||
)
|
)
|
||||||
airflow = ChoiceField(
|
|
||||||
choices=RackAirflowChoices,
|
|
||||||
allow_blank=True,
|
|
||||||
required=False
|
|
||||||
)
|
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = RackType
|
model = RackType
|
||||||
|
@ -242,7 +242,7 @@ class Rack(ContactsMixin, ImageAttachmentsMixin, RackBase):
|
|||||||
"""
|
"""
|
||||||
# Fields which cannot be set locally if a RackType is assigned
|
# Fields which cannot be set locally if a RackType is assigned
|
||||||
RACKTYPE_FIELDS = (
|
RACKTYPE_FIELDS = (
|
||||||
'form_factor', 'width', 'airflow', 'u_height', 'starting_unit', 'desc_units', 'outer_width', 'outer_depth',
|
'form_factor', 'width', 'u_height', 'starting_unit', 'desc_units', 'outer_width', 'outer_depth',
|
||||||
'outer_unit', 'mounting_depth', 'weight', 'weight_unit', 'max_weight',
|
'outer_unit', 'mounting_depth', 'weight', 'weight_unit', 'max_weight',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user