Я только что запустил django-celery и получил это предупреждение:
DeprecationWarning:
The `celery.decorators` module and the magic keyword arguments
are pending deprecation and will be deprecated in 2.4, then removed
in 3.0.
`task.request` should be used instead of magic keyword arguments,
and `celery.task.task` used instead of `celery.decorators.task`.
See the 2.2 Changelog for more information.
Вот мое тестовое задание:
from celery.decorators import task
@task()
def myProcessingFunction():
print "Zing!"
return 1
Я звоню из вида с:
myProcessingFunction.delay()
Я не могу найти документацию по этой ошибке.Что происходит?