django-celery icon indicating copy to clipboard operation
django-celery copied to clipboard

autodiscover_tasks can not work when django app layers more than 2

Open fengdy opened this issue 10 years ago • 3 comments

for example, a django project like this: /proj /proj/apps/app1/app11 /proj/apps/app1/app12 /proj/apps/app1/app11/tasks.py /proj/proj/setting.py /proj/proj/celery.py /proj/proj/init.py

autodiscover_tasks can not find the /proj/apps/app1/app11/tasks.py , how to resolve this problem? thanks!

fengdy avatar Oct 30 '15 09:10 fengdy

Have app1.tasks import app11.tasks!

ask avatar Oct 30 '15 19:10 ask

i use CELERY_IMPORTS, and it works , but i want to find a way not to use it , and why autodiscover_task not work, tks

fengdy avatar Oct 31 '15 03:10 fengdy

Any solutions? Have same issue...

imports it does not solve it

adriancarayol avatar Jan 24 '18 22:01 adriancarayol