filter_class = None

def get_queryset(self):
    qs = super(FilteredListViewMixin, self).get_queryset()
self.filter = self.filter_class(self.request.GET, queryset=qs)
return self.filter.qs

def get_context_data(self, **kwargs):
    context = super(FilteredListViewMixin, self).get_context_data(**kwargs)
context['filter'] = self.filter
return context
Django Tables - Column Filtering