from django.urls import path from .views import trigger_task urlpatterns = [ path('fetch', trigger_task, name='trigger_task') ]