'Return the QuerySet from the QuerySetSequence for a ctype.'

def get_queryset_for_content_type(self, content_type_id):

    content_type = ContentType.objects.get_for_id(content_type_id)
    for queryset in self.queryset.query._querysets:
        if (queryset.model.__name__ == 'QuerySequenceModel'):
            model = queryset.model.__bases__[0]
        else:
            model = queryset.model
        if (model == content_type.model_class()):
            return queryset
