fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
attachments by slugs
[edumed.git]
/
forum
/
search_indexes.py
1
# -*- coding: utf-8 -*-
2
from haystack import indexes
3
from pybb.models import Post
4
5
6
class PostIndex(indexes.SearchIndex, indexes.Indexable):
7
text = indexes.CharField(document=True, use_template=True)
8
9
def get_model(self):
10
return Post