Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Munkoor committed Oct 14, 2023
1 parent a0add58 commit f359312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cinema/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
router.register("movies", MovieViewSet)

urlpatterns = [
path("", include(router.urls)),

path("genres/", GenreList.as_view(), name="genre-list"),
path("genres/<int:pk>/", GenreDetail.as_view(), name="genre-detail"),

path("actors/", ActorList.as_view(), name="actor-list"),
path("actors/<int:pk>/", ActorDetail.as_view(), name="actor-detail"),

path("", include(router.urls)),
]

app_name = "cinema"

0 comments on commit f359312

Please sign in to comment.