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