Skip to content

Commit c97d2d4

Browse files
author
Artem I. Kotik
committed
Add widget for Airflow field in DeviceTypeForm
1 parent 148c6a6 commit c97d2d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netbox/dcim/forms/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ class Meta:
373373
'front_image', 'rear_image', 'comments', 'tags',
374374
]
375375
widgets = {
376+
'airflow': StaticSelect(),
376377
'subdevice_role': StaticSelect(),
377378
'front_image': ClearableFileInput(attrs={
378379
'accept': DEVICETYPE_IMAGE_FORMATS

0 commit comments

Comments
 (0)