Closed NicoCaldo closed 1 year ago
in your main urls.py
try adding something like this:
urlpatterns = [
# all your patterns
path('celery-progress/', include('celery_progress.urls')), # add this line
]
and let me know if that works? I'll update the README to be a bit more clear
Yeah, the issue was I'm pasting it outside the urlpatterns
... I'm so dumb
Correct implementation is
from django.urls import re_path, path, include
urlpatterns = [
re_path(r'^celery-progress/', include('celery_progress.urls', namespace="celery_progress")), # the endpoint is configurable
]
I'm following the documentation but it seems the error won't go away
On my main urls.py I have added as explained in the documentation
re_path(r'^celery-progress/', include('celery_progress.urls', namespace="celery_progress")), # the endpoint is configurable
In my app, where I'm using celery I have a template that should could the JS like
urls.py of the app is
But I'm still getting the issue