Mercurial > public > sg101
comparison gpp/downloads/search_indexes.py @ 469:3b30286adba5
Smarter search index updating for forums. This work is for #227.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 17 Aug 2011 01:02:08 +0000 |
parents | b910cc1460c8 |
children | 387d46abcb95 |
comparison
equal
deleted
inserted
replaced
468:ad4b63fbc584 | 469:3b30286adba5 |
---|---|
1 """Haystack search index for the downloads application.""" | 1 """Haystack search index for the downloads application.""" |
2 from haystack.indexes import * | 2 from haystack.indexes import * |
3 from haystack import site | 3 from haystack import site |
4 from custom_search import CondQueuedSearchIndex | 4 from custom_search.indexes import CondQueuedSearchIndex |
5 | 5 |
6 from downloads.models import Download | 6 from downloads.models import Download |
7 | 7 |
8 | 8 |
9 class DownloadIndex(CondQueuedSearchIndex): | 9 class DownloadIndex(CondQueuedSearchIndex): |