Custom fields don't work with the interface list at present. Trying to fix export and InterfaceListFilterForm now.

This commit is contained in:
Joseph Kennedy 2017-08-17 21:01:05 -04:00
parent ad3814968a
commit e729b560de
2 changed files with 2 additions and 1 deletions

View File

@ -1558,7 +1558,7 @@ class InterfaceBulkImportView(PermissionRequiredMixin, BulkImportView):
class InterfaceListView(ObjectListView):
queryset = Interface.objects.all()
filter = filters.InterfaceFilter
filter_form = forms.InterfaceFilterForm
filter_form = forms.InterfaceListFilterForm
table = tables.InterfaceListTable
template_name = 'dcim/interface_list.html'

View File

@ -10,6 +10,7 @@
Import Interfaces
</a>
{% endif %}
{% include 'inc/export_button.html' with obj_type='interfaces' %}
</div>
<h1>Interfaces</h1>
<div class="row">