I\'m attempting to follow the following tutorial for pagination with django filters, but the tutorial seems to be missing something, and i\'m unable to get the pagination to
pip install filter-and-pagination
pip install filter-and-pagination
from filter_and_pagination import FilterPagination
in view.pyqueryset = FilterPagination.filter_and_pagination(request, Customer)
serialize_data = CustomerSerializer(queryset['queryset'], many=True).data
resultset = {'dataset': serialize_data, 'pagination': queryset['pagination']}
Customer
is Django model &CustomerSerializer
is a DRF Serializer classIf you still face any difficulty then contact me :)