from django.urls import path from apps.ticket.views import * urlpatterns = [ path('create/', TicketCreateApi.as_view(), name='create_ticket'), path('/', TicketCommentsListApi.as_view(), name='comments_ticket'), path('/new/', TicketCommentCreateApi.as_view(), name='add_comment_ticket'), path('list/', TicketListApi.as_view(), name='list_ticket'), ]