class QuizSerializer(serializers.ModelSerializer):
    results = serializers.SerializerMethodField()

def get_results(self, obj):
    results = Result.objects.filter(id__in=obj.result_set)
Pass a custom queryset to serializer in Django Rest Framework