Skip to content

Add support for cursor based pagination #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
erichaus opened this issue Feb 5, 2017 · 1 comment
Closed

Add support for cursor based pagination #320

erichaus opened this issue Feb 5, 2017 · 1 comment

Comments

@erichaus
Copy link

erichaus commented Feb 5, 2017

After lots of head scratching we just determined that our test was failing because it has cursor pagination enabled, does this package support it or what would be needed to make it work?

class FooViewSet(viewsets.ModelViewSet):
    serializer_class = serializers.FooSerializer
    pagination_class = FooCursorPagination

    def get_queryset(self):
        qs = models.Foo.objects.all()
        return qs
@sliverc
Copy link
Member

sliverc commented May 22, 2018

Marking as help wanted if someone wants to pick up the PR. As a side node renderer_context won't fail anymore when it is None - this has been fixed with #396

@sliverc sliverc changed the title Does this package support cursor based pagination? Add support for cursor based pagination May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants