mirror of
https://github.com/fspc/workstand.git
synced 2025-04-04 10:03:22 -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
|