1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-02-06 17:33:00 +00:00

11 lines
245 B
Python
Raw Normal View History

from haystack import indexes
from .models import Registration
2020-10-15 16:29:50 +02:00
class RegistrationIndex(indexes.ModelSearchIndex, indexes.Indexable):
2020-10-15 17:26:22 +02:00
text = indexes.NgramField(document=True, use_template=True)
2020-10-15 16:29:50 +02:00
class Meta:
model = Registration