<reponame>AleenaShibu/movie_review
from django.urls import path
from .views import RatingsDetailView,AddRatingView,UpdateRatingView,DeleteRatingView,RatingsListView,SearchRatingView



urlpatterns = [
    path('',RatingsListView.as_view(),name = 'home'),
    path('detail/<int:pk>/',RatingsDetailView.as_view(),name = 'detail'),
    path('addreview/',AddRatingView.as_view(),name = 'addreview'),
    path('update/<int:pk>/',UpdateRatingView.as_view(),name ='update'),
    path('delete/<int:pk>/',DeleteRatingView.as_view(),name ='delete'),
    path('search/',SearchRatingView.as_view(),name='search'),]
    


from django.urls import path
from .views import RatingsDetailView,AddRatingView,UpdateRatingView,DeleteRatingView,RatingsListView,SearchRatingView



urlpatterns = [
    path('',RatingsListView.as_view(),name = 'home'),
    path('detail/<int:pk>/',RatingsDetailView.as_view(),name = 'detail'),
    path('addreview/',AddRatingView.as_view(),name = 'addreview'),
    path('update/<int:pk>/',UpdateRatingView.as_view(),name ='update'),
    path('delete/<int:pk>/',DeleteRatingView.as_view(),name ='delete'),
    path('search/',SearchRatingView.as_view(),name='search'),]