mirror of
https://github.com/fspc/workstand.git
synced 2025-09-13 09:19:02 -04:00
10 lines
233 B
Python
10 lines
233 B
Python
from haystack import indexes
|
|
from .models import Member
|
|
|
|
|
|
class MemberIndex(indexes.SearchIndex, indexes.Indexable):
|
|
text = indexes.EdgeNgramField(document=True, use_template=True)
|
|
|
|
def get_model(self):
|
|
return Member
|