# urls.py from django.urls import path from .views import ( RequestDetailView, RequestsView, request_comment_add, request_comment_delete, request_comments, ) app_name = "requests" urlpatterns = [ path("", RequestsView.as_view(), name="request_list"), path("/", RequestDetailView.as_view(), name="request_detail"), path("comments//", request_comments, name="request_comments"), path( "comments//add/", request_comment_add, name="request_comment_add", ), path( "comments//delete//", request_comment_delete, name="request_comment_delete", ), ]