If I correctly understood the need of use CELERY_TASK_DECORATOR_PATH setting, seems like shared_task decorator is a good and correct replacement for this setting.
not tested
try:
from celery import shared_task as task
except ImportError:
try:
from celery import task
except ImportError:
...
If I correctly understood the need of use CELERY_TASK_DECORATOR_PATH setting, seems like shared_task decorator is a good and correct replacement for this setting.
not tested