manager: add paginate_by attribute required by django-tables2 < 1.2.1 (#25622)
This commit is contained in:
parent
620d514cea
commit
06c13938ac
|
@ -405,6 +405,7 @@ class SubTableViewMixin(TableHookMixin, FormatsContextData, ModelNameMixin, Perm
|
|||
SingleTableMixin, ContextMixin):
|
||||
'''Helper class for views showing a table of objects related to one object'''
|
||||
context_object_name = 'object'
|
||||
paginate_by = None
|
||||
|
||||
|
||||
class SimpleSubTableView(TitleMixin, SubTableViewMixin, TemplateView):
|
||||
|
|
Loading…
Reference in New Issue