Django-filter: Pagination documentation

Created on 13 Dec 2015  路  5Comments  路  Source: carltongibson/django-filter

Does anyone have documentation on how to use this with django's built in pagination capabilities ? https://docs.djangoproject.com/en/dev/topics/pagination/

--edit--
Can documentation on how to do this be added to the project documentation section about using django-filters with class based generic views?

Most helpful comment

@carltongibson - I've clarified my issue. I wasnt so much asking for help with fixing my problem as pointing out something that could be better documented in the project documentation.

All 5 comments

Pass the FilterSet's QuerySet to the pagination mechanism. (StackOverflow is your place for this kind of question.)

@carltongibson - I've clarified my issue. I wasnt so much asking for help with fixing my problem as pointing out something that could be better documented in the project documentation.

@techdragon Did you find a way to do this? With Class based views.

Does pagination not automatically work with the FilterView? It ultimately inherits MultipleObjectMixin, which is the class that provides pagination behavior.

@rpkilby Yes I realized that after checking the source. I think this would be something good to add to the docs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edmorley picture edmorley  路  3Comments

madelyneriksen picture madelyneriksen  路  4Comments

lalzada picture lalzada  路  3Comments

xtrinch picture xtrinch  路  4Comments

gsvr picture gsvr  路  3Comments