Don't use celery_haystack indexing.
This commit is contained in:
parent
8e82a41f33
commit
cd5ddb7288
1 changed files with 0 additions and 9 deletions
|
@ -1,15 +1,6 @@
|
||||||
from haystack.indexes import *
|
from haystack.indexes import *
|
||||||
from haystack import site
|
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
|
import djangobb_forum.models as models
|
||||||
|
|
||||||
class PostIndex(SearchIndex):
|
class PostIndex(SearchIndex):
|
||||||
|
|
Reference in a new issue