from django.urls import path from .views import ReviewListByLocationView, UnRepliedReviewList, ReviewListView, DeleteReview, ReviewDetails, UnRepliedReviewListEntrust urlpatterns = [ path('', UnRepliedReviewList.as_view(), name='un-replied-review'), path('entrust/', UnRepliedReviewListEntrust.as_view(), name='un-replied-review-entrust'), path('list/', ReviewListView.as_view(), name='review-list'), path('list/<location_id>/', ReviewListByLocationView.as_view(), name='review-list-by-location'), path('delete/<review_id>/', DeleteReview.as_view(), name='delete-review'), path('details/<pk>/', ReviewDetails.as_view(), name='detail-review'), ]