title: Django Rest Framework: using ModelViewSet to get a list of instances by their PKs
body: <p>DRF provides a <em>super-useful</em> class called <a href="http://www.django-rest-framework.org/api-guide/viewsets/#modelviewset" rel="nofollow">Model.views</a> to create an API with basic REST actions and mapping Django Model, using few lines of code like these:</p>
  
  <pre><code>class MyObjectsViewSet(viewsets.ModelViewSet):
      """
      A simple ViewSet for viewing and editing instances.
      """
      queryset = MyObjects.all()
      serializer_class = MyObjectsSerializer
  </code></pre>
  
  <p>If I get <code>http://myUrl/{pk}/</code> I obtain data about MyObjects instance identified by <code>pk</code>. </p>
  
  <p>Is there a way to ask the API to return a list of more instances, passing the list of their pk<em>s</em> in some way?</p>