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

#8157: General cleanup & fix tests

This commit is contained in:
jeremystretch
2022-07-11 21:51:39 -04:00
parent 1ddb219a0c
commit 53372a7471
14 changed files with 213 additions and 164 deletions

View File

@@ -916,7 +916,8 @@ class L2VPNTerminationForm(NetBoxModelForm):
required=False,
query_params={
'available_on_device': '$device'
}
},
label='VLAN'
)
interface = DynamicModelChoiceField(
queryset=Interface.objects.all(),
@@ -935,7 +936,8 @@ class L2VPNTerminationForm(NetBoxModelForm):
required=False,
query_params={
'virtual_machine_id': '$virtual_machine'
}
},
label='Interface'
)
class Meta: