Django celery loader.

This commit is contained in:
Samuel Clay 2010-08-31 18:15:00 -04:00
parent 5a54c973c2
commit e5605d8547

View file

@ -217,6 +217,14 @@ DEVSERVER_MODULES = (
'devserver.modules.cache.CacheSummaryModule', 'devserver.modules.cache.CacheSummaryModule',
) )
# ==========
# = Celery =
# ==========
from celeryconfig import *
import djcelery
djcelery.setup_loader()
# ================== # ==================
# = Configurations = # = Configurations =
# ================== # ==================
@ -236,13 +244,6 @@ DEBUG_TOOLBAR_CONFIG = {
'HIDE_DJANGO_SQL': False, 'HIDE_DJANGO_SQL': False,
} }
# ==========
# = Celery =
# ==========
import djcelery
djcelery.setup_loader()
# ========= # =========
# = Mongo = # = Mongo =
# ========= # =========