]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/sphinxfulltext/handlers.py
forgot to remove the flatpages controller import, it's not needed for this middleware
[osqa.git] / forum_modules / sphinxfulltext / handlers.py
1 from forum.models import Question
2
3 def question_search(keywords):
4     return Question.search.query(keywords)