Skip to content

Commit

Permalink
feat: 리뷰 평가 url 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxyDimension committed Aug 7, 2024
1 parent 49138b8 commit 6a1e752
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions restaurants/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.urls import path, include, re_path
from . import views
from reviews.views import review_write
from reviews.views import review, evaluate_review


urlpatterns = [
Expand All @@ -19,5 +19,10 @@
name="restaurant-detail",
),
path("restaurants/", views.user_restaurant_list, name="user-restaurant-list"),
path("restaurants/<int:pk>/reviews/", review_write, name="review-write"),
path("restaurants/<int:pk>/reviews/", review, name="review-write"),
path(
"restaurants/<int:restaurant_id>/reviews/<int:review_id>/",
evaluate_review,
name="evaluate-review",
),
]

0 comments on commit 6a1e752

Please sign in to comment.