Skip to content

Commit

Permalink
Changed score in CinemaHall endpoints to underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen-arutiunov committed Nov 5, 2024
1 parent 4a0c150 commit 22d9872
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 @@ -30,10 +30,10 @@
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("cinema-halls/", CinemaHallViewSet.as_view(
path("cinema_halls/", CinemaHallViewSet.as_view(
actions={"get": "list", "post": "create"}
), name="cinema-hall-list"),
path("cinema-halls/<int:pk>/",
path("cinema_halls/<int:pk>/",
CinemaHallViewSet.as_view(
actions={"get": "retrieve",
"put": "update",
Expand Down

0 comments on commit 22d9872

Please sign in to comment.