1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#5401: Add custom field support for VMInterface

This commit is contained in:
Jeremy Stretch
2021-03-10 13:49:10 -05:00
parent 19b78e63ce
commit ac0c54cce4
7 changed files with 22 additions and 9 deletions

View File

@ -576,7 +576,7 @@ class VirtualMachineFilterForm(BootstrapMixin, TenancyFilterForm, CustomFieldFil
# VM interfaces
#
class VMInterfaceForm(BootstrapMixin, InterfaceCommonForm, forms.ModelForm):
class VMInterfaceForm(BootstrapMixin, InterfaceCommonForm, CustomFieldModelForm):
untagged_vlan = DynamicModelChoiceField(
queryset=VLAN.objects.all(),
required=False,