Explorar o código

Merge pull request #10455 from miaow2/10439-airlow-widget

10439 Add widget for Airflow field in DeviceTypeForm
Jeremy Stretch %!s(int64=3) %!d(string=hai) anos
pai
achega
a527767caa
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      netbox/dcim/forms/models.py

+ 1 - 0
netbox/dcim/forms/models.py

@@ -373,6 +373,7 @@ class DeviceTypeForm(NetBoxModelForm):
             'front_image', 'rear_image', 'comments', 'tags',
         ]
         widgets = {
+            'airflow': StaticSelect(),
             'subdevice_role': StaticSelect(),
             'front_image': ClearableFileInput(attrs={
                 'accept': DEVICETYPE_IMAGE_FORMATS