Don't use celery_haystack indexing.

This commit is contained in:
Ray Schamp 2014-05-28 15:22:29 -04:00
parent 8e82a41f33
commit cd5ddb7288

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):