diff options
author | Alex Robbins <alexander.j.robbins@gmail.com> | 2011-03-15 10:17:49 -0500 |
---|---|---|
committer | Alex Robbins <alexander.j.robbins@gmail.com> | 2011-03-15 10:17:49 -0500 |
commit | 30c99e05662049f5f119c71a895cdb0e54a14796 (patch) | |
tree | a32b8757287615500f83419ebc3fd4a56688b1ed | |
parent | 02db3adeadf391c374203ad66ada0535182963eb (diff) | |
download | askbot-30c99e05662049f5f119c71a895cdb0e54a14796.tar.gz askbot-30c99e05662049f5f119c71a895cdb0e54a14796.tar.bz2 askbot-30c99e05662049f5f119c71a895cdb0e54a14796.zip |
Adding celery.
-rw-r--r-- | askbot/setup_templates/settings.py | 6 | ||||
-rw-r--r-- | setup.py | 2 |
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 @@ -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 |