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

#6732 - Fix Site form and ASN form

This commit is contained in:
Daniel Sheppard
2021-10-28 13:57:36 -05:00
parent 9565addcd4
commit 0a8788eb97
2 changed files with 14 additions and 1 deletions

View File

@ -129,6 +129,11 @@ class ASNForm(BootstrapMixin, TenancyForm, CustomFieldModelForm):
queryset=RIR.objects.all(),
label='RIR',
)
sites = DynamicModelMultipleChoiceField(
queryset=Site.objects.all(),
label='Sites',
required=False
)
class Meta:
model = ASN