fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Hide category names on forum index page
[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