Update local.py

This commit is contained in:
Wan Liuyang 2018-06-11 11:26:21 +08:00 committed by GitHub
parent 3ce66c0b4d
commit 475064a851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ INSTALLED_APPS += ['django_extensions'] # noqa F405
# ------------------------------------------------------------------------------
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#std:setting-task_always_eager
CELERY_TASK_ALWAYS_EAGER = True
CELERY_EAGER_PROPAGATES = True
CELERY_TASK_EAGER_PROPAGATES = True
{%- endif %}
# Your stuff...