]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/sphinxfulltext/models.py
deleting the test file
[osqa.git] / forum_modules / sphinxfulltext / models.py
1 from forum.models import Question\r
2 from django.conf import settings\r
3 from djangosphinx.manager import SphinxSearch\r
4 \r
5 \r
6 Question.add_to_class('search', SphinxSearch(\r
7                                    index=' '.join(settings.SPHINX_SEARCH_INDICES),\r
8                                    mode='SPH_MATCH_ALL',\r
9                                 )\r
10                       )\r