title: How to return multiple queryset object or add queryset result from get_queryset method in Django
body: <p>In my django application i have defined a ViewSet which has a get_queryset method as this :</p>
  
  <pre><code>class SampleViewSet(ReadOnlyModelViewSet):
      serializer_class = SampleSerializer
      permission_classes = (IsAuthorizedToAccess, )
  
      def get_queryset(self):
          queryset = Sample.objects.filter(submitted_by=self.request.user.id)
          queryset1 = Sample.objects.filter(submitted_by!=self.request.user.id) 
          return queryset
  </code></pre>
  
  <p>This way i have two queryset objects 1st where samples are submitted by the user and 2nd where samples which are submitted by other users.
  This SampleViewSet is called from an ajax request where i use the returned queryset object.</p>
  
  <p>Can you please help how can i return both the objects.</p>
  
  <p>For what i tried is i print the queryset object and tried fooling django by creating json object similar to the queryset.But it seems like django is quite intelligent in catching that.   </p>
  
  <p>EDIT: The question is should i look for an alternate method  of get_queryset like list() [From Django Rest framework ] and return the json      with Httpresponse or is there a real solution to either club two queryset object and return from here.</p>