I have a view deriving from SingleTableView.
Instructions for disabling pagination revolve around using a call to RequestConfig, however I don't have implemented in my view the function that takes the request parameter.
I have tried overriding the get_table_pagination() function in the view and the table_pagination attribute however this doesn't work.
class DetailBuildView(SingleTableView):
template_name = 'shoppinglist/detailbuild.html'
table_class = BuildLineTable
table_pagination = None
def get_table_pagination(self):
return None
def get_queryset(self):
self.shoppinglist = get_object_or_404(ShoppingList, id=self.kwargs['shoppinglist'])
return BuildLine.objects.filter(shopping_list=self.shoppinglist)