summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/setup_templates/settings.py6
-rw-r--r--setup.py2
2 files changed, 8 insertions, 0 deletions
diff --git a/askbot/setup_templates/settings.py b/askbot/setup_templates/settings.py
index 573eb173..fd54b0c4 100644
--- a/askbot/setup_templates/settings.py
+++ b/askbot/setup_templates/settings.py
@@ -141,6 +141,8 @@ INSTALLED_APPS = (
'askbot',
'askbot.deps.django_authopenid',
#'askbot.importers.stackexchange', #se loader
+ 'djcelery',
+ 'djkombu',
'south',
'askbot.deps.livesettings',
'keyedcache',
@@ -186,3 +188,7 @@ LOGIN_URL = '/%s%s%s' % (ASKBOT_URL,_('account/'),_('signin/'))
#also, this url must not have the leading slash
ASKBOT_UPLOADED_FILES_URL = '%s%s' % (ASKBOT_URL, 'upfiles/')
ALLOW_UNICODE_SLUGS = False
+
+#Celery Settings
+BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
+CELERY_ALWAYS_EAGER = True
diff --git a/setup.py b/setup.py
index f950152d..a1bbe09f 100644
--- a/setup.py
+++ b/setup.py
@@ -20,6 +20,8 @@ install_requires = [
'django-robots',
'unidecode',
'django-countries==1.0.5',
+ 'django-celery==2.2.3',
+ 'djkombu==0.9.2',
]
import askbot