set CELERY_ALWAYS_EAGER=False by default to avoid AttributeErrors
This commit is contained in:
parent
0541217abb
commit
cdb960a112
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ if HAS_MEMCACHED:
|
|||
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
|
||||
|
||||
HAS_CELERY_BROKER = config.has_option('celery', 'broker')
|
||||
CELERY_ALWAYS_EAGER = False
|
||||
if HAS_CELERY_BROKER:
|
||||
BROKER_URL = config.get('celery', 'broker')
|
||||
CELERY_RESULT_BACKEND = config.get('celery', 'backend')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue