from django.urls import path from .views import BugReportListCreateAPIView, BugReportDetailAPIView, BugReportCommentCreateAPIView urlpatterns = [ path('reports/', BugReportListCreateAPIView.as_view(), name='bug_report_list_create'), path('reports//', BugReportDetailAPIView.as_view(), name='bug_report_detail'), path('reports//comments/', BugReportCommentCreateAPIView.as_view(), name='bug_report_comment_create'), ]