Skip to content

Commit

Permalink
docs(customization): document the table_pagination setting
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Nov 27, 2024
1 parent e275e59 commit 9e35eb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ useful `django table columns
that you might want to use.

Your table can also contain a ``paginate_by`` attribute, which is then used
by the list view to determines the number of items per page, or ``None`` for no
pagination (which is the default).
by the list view to determines the number of items per page. When this is not
set, the page size defaults to ``25``. To disable pagination altogether, use
``table_pagination = False``.

The base queryset that is used in the listview, which is then filtered using
the django-filters filter, is ``model.objects.all()`` - but you can override
Expand Down

0 comments on commit 9e35eb7

Please sign in to comment.