Update celery to 4.1.0

This commit is contained in:
Wan Liuyang 2018-01-12 17:54:49 +08:00
parent a40121afd6
commit 36de85375f
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ TEST_RUNNER = 'django.test.runner.DiscoverRunner'
{% if cookiecutter.use_celery == 'y' %}
########## CELERY
# In development, all tasks will be executed locally by blocking until the task returns
CELERY_ALWAYS_EAGER = True
CELERY_TASK_ALWAYS_EAGER = True
########## END CELERY
{% endif %}
# Your local stuff: Below this line define 3rd party library settings

View File

@ -50,7 +50,7 @@ django-redis==4.8.0
redis>=2.10.5
{% if cookiecutter.use_celery == "y" %}
celery==3.1.25
celery==4.1.0
{% endif %}
{% if cookiecutter.use_compressor == "y" %}