title: Django Rest Framework: turn on pagination on a ViewSet (like ModelViewSet pagination)
body: <p>I have a ViewSet like this one to list users' data:</p>
  
  <pre><code>class Foo(viewsets.ViewSet):
  
      def list(self, request):
          queryset = User.objects.all()
          serializer = UserSerializer(queryset, many=True)
          return Response(serializer.data)
  </code></pre>
  
  <p>I want to turn on pagination like the default pagination for ModelViewSet:</p>
  
  <pre><code>{
      "count": 55,
      "next": "http://myUrl/?page=2",
      "previous": null,
      "results": [{...},{...},...,{...}]
  }
  </code></pre>
  
  <p><a href="http://www.django-rest-framework.org/api-guide/pagination/">The official doc</a> says: </p>
  
  <blockquote>
    <p>Pagination is only performed automatically if you're using the generic views or viewsets</p>
  </blockquote>
  
  <p>...but my resultset is not paginated at all. How can I paginate it?</p>