Change queryset to test output

This commit is contained in:
Joseph Kennedy 2017-08-01 22:54:42 -04:00
parent 7e9d052248
commit 836dc37ee1

View File

@ -1556,8 +1556,8 @@ class InterfaceBulkImportView(PermissionRequiredMixin, BulkImportView):
class InterfaceListView(ObjectListView): class InterfaceListView(ObjectListView):
#queryset = Interface.objects.select_related('device')\ queryset = Interface.objects.select_related('device').filter(interface__isnull=False)\\
# .order_by('device', 'interface__name', 'interface__description') .order_by('interface__device__name', 'interface__name')
filter = filters.InterfaceFilter filter = filters.InterfaceFilter
filter_form = forms.InterfaceFilterForm filter_form = forms.InterfaceFilterForm
table = tables.InterfaceListTable table = tables.InterfaceListTable