Skip to content

Commit

Permalink
codestyle fix in urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonsky1 committed Nov 30, 2023
1 parent 56c35b5 commit 54b1c90
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,6 +25,7 @@
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"),
Expand All @@ -35,8 +36,6 @@
cinema_hall_detail,
name="cinema-hall-detail"
),
path("", include(router.urls)),

]

app_name = "cinema"

0 comments on commit 54b1c90

Please sign in to comment.