Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solution #705

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

solution #705

wants to merge 1 commit into from

Conversation

spa7id
Copy link

@spa7id spa7id commented Dec 15, 2024

No description provided.

Copy link

@dxrrkwm dxrrkwm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good, check comms :)

Comment on lines +4 to +5
from cinema.models import (Actor, CinemaHall, Genre, Movie, MovieSession,
Order, Ticket)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix formatting here

Comment on lines +4 to +5
from cinema.views import (ActorViewSet, CinemaHallViewSet, GenreViewSet,
MovieSessionViewSet, MovieViewSet, OrderViewSet)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

Comment on lines +9 to +17
from cinema.models import Actor, CinemaHall, Genre, Movie, MovieSession, Order
from cinema.permissions import IsAdminOrIfAuthenticatedReadOnly
from cinema.serializers import (ActorSerializer, CinemaHallSerializer,
GenreSerializer, MovieDetailSerializer,
MovieListSerializer, MovieSerializer,
MovieSessionDetailSerializer,
MovieSessionListSerializer,
MovieSessionSerializer, OrderListSerializer,
OrderSerializer)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here too

Comment on lines +20 to +21
class GenreViewSet(viewsets.GenericViewSet,
mixins.ListModelMixin, mixins.CreateModelMixin):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to transfer every parent to next line, same in ActorViewSet

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on implementing the cinema application! 🎉 Your code meets the core requirements and is well-structured. There are a few minor issues, such as ensuring all files have a blank line at the end and removing any unnecessary comments or prints. Additionally, double-check for any duplicate files to keep the project clean. Keep up the good work and consider these suggestions for future improvements! 😊

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants