include('djcelery.urls'))

I am currently using Django 3.1 version and I am using a task similar to what I specified below, but djcelery belongs to Django version below 3.1 so what would be the replacement of “djcelery.urls” how to use it

urlpatterns = patterns(‘’,
url(‘^tasks/’, include(‘djcelery.urls’)),
)

See the first Note box in the docs at First steps with Django — Celery 5.3.4 documentation

I didn’t get it, the document talks about celery and rabbitmq configuration which I already followed and had the setup running, now I am trying to understand how to make djcelery.urls work which worked in my django 1.5.1 and the celery version I am using is 5.1.2

What does it say in that first note box?

it talks about “Previous versions of Celery required a separate library to work with Django, but since 3.1 this is no longer the case. Django is supported out of the box now so this document only contains a basic way to integrate Celery and Django. You’ll use the same API as non-Django users so you’re recommended to read the” First Steps with Celery tutorial first and come back to this tutorial" so that document talks about celery and rabbitmq configuration setup

It’s also talking about Django, too. You no longer need djcelery. It’s obsolete.

so for example if i am using “re_path(r’^pilot/task/', include(‘djcelery.urls’))” to get some task information, if djcelery is absolute what method do I have to use to get the same functionality or same results.

What task information are you looking to get? The answers may be different depending upon what you’re looking for.

I believe it has to do with task coming back with data on Ajax calling