9 lines
457 B
Python
9 lines
457 B
Python
from django.urls import path
|
|
from .views import BugReportListCreateAPIView, BugReportDetailAPIView, BugReportCommentCreateAPIView
|
|
|
|
urlpatterns = [
|
|
path('reports/', BugReportListCreateAPIView.as_view(), name='bug_report_list_create'),
|
|
path('reports/<int:pk>/', BugReportDetailAPIView.as_view(), name='bug_report_detail'),
|
|
path('reports/<int:bug_report_id>/comments/', BugReportCommentCreateAPIView.as_view(), name='bug_report_comment_create'),
|
|
]
|