|
@@ -150,7 +150,7 @@ class DeviceTypePanel(panels.ObjectAttributesPanel):
|
|
|
manufacturer = attrs.RelatedObjectAttr('manufacturer', linkify=True)
|
|
manufacturer = attrs.RelatedObjectAttr('manufacturer', linkify=True)
|
|
|
model = attrs.TextAttr('model')
|
|
model = attrs.TextAttr('model')
|
|
|
part_number = attrs.TextAttr('part_number')
|
|
part_number = attrs.TextAttr('part_number')
|
|
|
- default_platform = attrs.RelatedObjectAttr('default_platform', linkify=True)
|
|
|
|
|
|
|
+ default_platform = attrs.NestedObjectAttr('default_platform', linkify=True, max_depth=3)
|
|
|
description = attrs.TextAttr('description')
|
|
description = attrs.TextAttr('description')
|
|
|
height = attrs.TemplatedAttr('u_height', template_name='dcim/devicetype/attrs/height.html')
|
|
height = attrs.TemplatedAttr('u_height', template_name='dcim/devicetype/attrs/height.html')
|
|
|
exclude_from_utilization = attrs.BooleanAttr('exclude_from_utilization')
|
|
exclude_from_utilization = attrs.BooleanAttr('exclude_from_utilization')
|