Skip to content

Commit

Permalink
Update indentetion in cinema/urls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vlodek69 committed Oct 30, 2023
1 parent b632259 commit 81eaf7a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cinema/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
)

cinema_hall_list = CinemaHallViewSet.as_view(actions={
"get": "list",
"post": "create",
})
"get": "list",
"post": "create",
})
cinema_hall_detail = CinemaHallViewSet.as_view(actions={
"get": "retrieve",
"put": "update",
"patch": "partial_update",
"delete": "destroy",
})
"get": "retrieve",
"put": "update",
"patch": "partial_update",
"delete": "destroy",
})

router = routers.DefaultRouter()
router.register("movies", MovieViewSet)
Expand Down

0 comments on commit 81eaf7a

Please sign in to comment.