Compare commits

...
This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.

1 commit

Author SHA1 Message Date
Ray Schamp
cd5ddb7288 Don't use celery_haystack indexing. 2014-05-28 15:22:29 -04:00

View file

@ -1,15 +1,6 @@
from haystack.indexes import *
from haystack import site
from gargoyle import gargoyle
try:
if gargoyle.is_active('solr_indexing_enabled'):
from celery_haystack.indexes import CelerySearchIndex as SearchIndex
except:
# Allow migrations to run
from celery_haystack.indexes import CelerySearchIndex as SearchIndex
import djangobb_forum.models as models
class PostIndex(SearchIndex):