Mercurial > public > sg101
comparison gpp/bio/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 | d83296cac940 |
comparison
equal
deleted
inserted
replaced
468:ad4b63fbc584 | 469:3b30286adba5 |
---|---|
1 """Haystack search index for the bio application.""" | 1 """Haystack search index for the bio 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 bio.models import UserProfile | 6 from bio.models import UserProfile |
7 | 7 |
8 | 8 |
9 class UserProfileIndex(CondQueuedSearchIndex): | 9 class UserProfileIndex(CondQueuedSearchIndex): |