Remove enabled field from IntefaceListFilterForm to test.

This commit is contained in:
Joseph Kennedy 2017-08-17 21:16:33 -04:00
parent e729b560de
commit b145fb0e69

View File

@ -1574,7 +1574,7 @@ class InterfaceFilterForm(BootstrapMixin, forms.Form):
class InterfaceListFilterForm(BootstrapMixin, forms.Form):
site = forms.ModelChoiceField(required=False, queryset=Site.objects.all(), to_field_name='slug')
device = forms.ModelChoiceField(required=False, queryset=Device.objects.all(), to_field_name='slug')
enabled = forms.ChoiceField(choices=add_blank_choice(IFACE_ENABLED_CHOICES), required=False)
#enabled = forms.ChoiceField(choices=add_blank_choice(IFACE_ENABLED_CHOICES), required=False)
role = FilterChoiceField(
queryset=DeviceRole.objects.annotate(filter_count=Count('devices')),
to_field_name='slug',