0👍
If you are working with class based views of Django, just override the get_table_pagination method in your view class and get_caption_display method in table class:
class YourView(SingleTableMixin, generic.TemplateView):
def get_table_pagination(self):
return False
In your table class,
class YourTable(Table):
def get_caption_display(self):
return False
- Django RelatedObjectDoesNotExist error
- Django: Check for related objects and whether it contains data
Source:stackexchange.com