mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Django celery loader.
This commit is contained in:
parent
5a54c973c2
commit
e5605d8547
1 changed files with 8 additions and 7 deletions
15
settings.py
15
settings.py
|
@ -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 =
|
||||||
# =========
|
# =========
|
||||||
|
|
Loading…
Add table
Reference in a new issue