-
Notifications
You must be signed in to change notification settings - Fork 693
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
base: master
Are you sure you want to change the base?
solution #705
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good, check comms :)
from cinema.models import (Actor, CinemaHall, Genre, Movie, MovieSession, | ||
Order, Ticket) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix formatting here
from cinema.views import (ActorViewSet, CinemaHallViewSet, GenreViewSet, | ||
MovieSessionViewSet, MovieViewSet, OrderViewSet) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
class GenreViewSet(viewsets.GenericViewSet, | ||
mixins.ListModelMixin, mixins.CreateModelMixin): |
There was a problem hiding this comment.
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
There was a problem hiding this 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! ✨
No description provided.