title: Django ReadOnlyModelViewSet: get_querySet getting filtered by pk
body: <p>I have an endpoint that, using the url kwargs, I want to filter and return a querySet, like so: /api/myendpoint/{id}/ should return all myendpoint objects with a field X that matches {id}. I provide the get_query_set method in my view class, which is a ReadOnlyModelViewSet, that returns a queryset with all the objects that fit the criteria (this part I know works, because I print out the result before returning it and it looks correct).</p>
  
  <p>The problem I seem to be having, is that the queryset getting returned by get_queryset, seems to be again filtered by django before being displayed on the endpoint. It is getting filtered such that pk=={id}. This is not the functionality that I want, because I am using {id} to filter on a different field. It seems that it is being treated as a DetailView, but I want it to be treated like a collection view (if such a thing exists). How do I return multiple objects for this view, while still using the url kwargs? I am a django beginner, so sorry if this is obvious.</p>
  
  <p>urls.py:</p>
  
  <pre><code>  from rest_framework_nested_import routers
    router = routers.DefaultRouter()
    router.register(r'', MyView, base_name='myendpoint')
  
     urlpatterns = patterns('',
                    url(r'^', include(router.urls)))
  </code></pre>
  
  <p>views.py:</p>
  
  <pre><code> class MyView(viewsets.ReadOnlyModelViewSet):
  
   def get_queryset(self):
         if 'pk' in self.kwargs:
              return MyObj.objects.filter(field=self.kwargs['pk'])
  </code></pre>