Skip to content

Commit

Permalink
Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
markus2812 committed Nov 3, 2023
1 parent 7d3bc82 commit e802017
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cinema/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
})

urlpatterns = [
path("", include(router.urls)),
path("cinema_halls/", cinema_hall_list, name="cinema-hall-list"),
path(
"cinema_halls/<int:pk>/",
Expand All @@ -36,7 +35,7 @@
path("actors/", ActorList.as_view(), name="actor-list"),
path("genres/", GenreList.as_view(), name="genre-list"),
path("genres/<int:pk>/", GenreDetail.as_view(), name="genre-detail"),
]
] + router.urls


app_name = "cinema"

0 comments on commit e802017

Please sign in to comment.