Switch to non-method reference

This commit is contained in:
Joseph Kennedy 2017-08-31 17:12:21 -04:00
parent 87dbc8b287
commit 3180a6e6c5

View File

@ -596,7 +596,8 @@ class InterfaceListFilter(django_filters.FilterSet):
# label='Rack group (ID)', # label='Rack group (ID)',
#) #)
rack_id = NullableModelMultipleChoiceFilter( rack_id = NullableModelMultipleChoiceFilter(
method='_filter_rack', name='device__rack',
queryset=Rack.objects.all(),
label='Rack (ID)', label='Rack (ID)',
) )
type = django_filters.CharFilter( type = django_filters.CharFilter(