title: Django Rest Framework send queryset to serializer try SlugRelatedField
body: <p>Hi i am trying to send ordered query to my parent serializer try slug related field but i am getting &quot;Object of type Supplier is not JSON serializable&quot;. i have also tried to make a &quot;serializers.SerializerMethodField()&quot; but i am getting the same error. is there a way to do something similar? in my model i am ordering it by name so i need to do another query so that i can order it by last visited. Should i make new model serialzier and make query there and pass it to parent serializer?</p>
  <p>models.py</p>
  <pre><code>     last_visited = models.DateTimeField(auto_now_add=True, null=True)
  
       class Meta:
           ordering = [&quot;name&quot;]
  
       @property
       def last_4_visited(self):
          return Supplier.objects.order_by('last_visited')[3]
  </code></pre>
  <p>serializer.py</p>
  <pre><code> suppliers = serializers.SlugRelatedField(slug_field='last_4_visited', many=True, read_only=True)
   
  </code></pre>