'For this mapping type return a list of model IDs that should be
indexed with the management command, in a full reindex.
WARNING: When changing this code make sure to update the
``should_update`` method below, too!'

@classmethod
def get_indexable(cls, percent=100):

    model = cls.get_model()
    excludes = []
    for exclude in cls.exclude_slugs:
        excludes.append(Q(slug__icontains=exclude))
    qs = model.objects.filter(is_redirect=False, deleted=False).exclude(reduce(operator.or_, excludes))
    percent = (percent / 100)
    if (percent < 1):
        qs = qs[:int((qs.count() * percent))]
    return qs.values_list('id', flat=True)
