fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5add36373d94bc88e9d50d788faf3c7204e009fd
[edumed.git]
/
forum
/
search_indexes.py
1
from haystack import indexes
2
from pybb.models import Post
3
4
5
class PostIndex(indexes.SearchIndex, indexes.Indexable):
6
text = indexes.CharField(document=True, use_template=True)
7
8
def get_model(self):
9
return Post