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

Reference WirelessLink on both attached Interfaces

This commit is contained in:
jeremystretch
2021-10-13 11:48:15 -04:00
parent 90e9f34494
commit 445e16f668
7 changed files with 116 additions and 11 deletions

View File

@@ -37,13 +37,15 @@ class WirelessLinkForm(BootstrapMixin, CustomFieldModelForm):
queryset=Interface.objects.all(),
query_params={
'kind': 'wireless'
}
},
label='Interface A'
)
interface_b = DynamicModelChoiceField(
queryset=Interface.objects.all(),
query_params={
'kind': 'wireless'
}
},
label='Interface B'
)
tags = DynamicModelMultipleChoiceField(
queryset=Tag.objects.all(),