Skip to content

Commit

Permalink
finished celery support with Alex
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyfadeev committed Mar 15, 2011
1 parent 8da7b05 commit ba93178
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions askbot/setup_templates/settings.py
Expand Up @@ -148,6 +148,8 @@
'keyedcache',
'robots',
'django_countries',
'djcelery',
'djkombu',
#'avatar',#experimental use git clone git://github.com/ericflo/django-avatar.git$
#requires setting of MEDIA_ROOT and MEDIA_URL
)
Expand Down Expand Up @@ -192,3 +194,6 @@
#Celery Settings
BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
CELERY_ALWAYS_EAGER = True

import djcelery
djcelery.setup_loader()

0 comments on commit ba93178

Please sign in to comment.