From b697641e13f57237752f11b62a4e700d75ae7af7 Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 17 Apr 2012 18:09:58 -0400 Subject: [PATCH] import CloudSearch --- oyster/ext/cloudsearch.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/oyster/ext/cloudsearch.py b/oyster/ext/cloudsearch.py index a8ace5d..e9bf1ce 100644 --- a/oyster/ext/cloudsearch.py +++ b/oyster/ext/cloudsearch.py @@ -1,10 +1,16 @@ +# needed so we can import cloudsearch +from __future__ import absolute_import + from celery.task.base import Task from ..core import kernel from ..conf import settings +from cloudsearch import CloudSearch + cs = CloudSearch(settings.CLOUDSEARCH_DOMAIN, settings.CLOUDSEARCH_ID, 20) + class CloudSearchPush(Task): """ task that updates documents """ # results go straight to database