This commit is contained in:
Joseph Kennedy 2017-08-31 17:39:51 -04:00
parent ada6bbc8bd
commit 8532ec7894

View File

@ -1629,7 +1629,7 @@ class InterfaceListFilterForm(BootstrapMixin, forms.Form):
required=False,
queryset=Rack.objects.annotate(filter_count=Count('devices')),
label='Rack',
null_option=(, 'None')
null_option=(None, 'None')
)
enabled = forms.ChoiceField(choices=add_blank_choice(IFACE_ENABLED_CHOICES), required=False)
role = FilterChoiceField(