def prepare_ingredient(self, obj):
    return [i.name for i in obj.ingredient.all()]

def get_model(self):
    return user

def index_queryset(self, using=None):
    return self.get_model().objects.all()
Django manytomany field, how to get check for 80% subset/ match?