diff --git a/cinema/urls.py b/cinema/urls.py index 11f68810e..86acbe8ae 100644 --- a/cinema/urls.py +++ b/cinema/urls.py @@ -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)