from haystack import indexes from . import models [docs]class ApplicationIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True, use_template=True) [docs] def get_model(self): return models.Application