diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index 6394942c0..1a5e1ba55 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -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(