class Foo(mixins.ListModelMixin, viewsets.GenericViewSet):
    queryset = User.objects.all()
serializer = UserSerializer
Django Rest Framework: turn on pagination on a ViewSet (like ModelViewSet pagination)