-
Notifications
You must be signed in to change notification settings - Fork 703
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 #722
base: master
Are you sure you want to change the base?
solution #722
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.
Gj
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.
Thank you for your hard work on this project! 🎉 While your code is well-structured and meets many of the task requirements, there are a few critical issues that need to be addressed before we can approve the pull request. These include ensuring no database files are pushed to the repository, implementing pagination settings in settings.py
, and verifying that the POST api/cinema/orders/
endpoint correctly creates orders for authenticated users. Additionally, please ensure that filtering for movies and movie sessions is correctly implemented, and that the GET /api/cinema/movie_sessions/1/
endpoint returns taken places with a tickets_available
field. Once these issues are resolved, your code will be in great shape! Keep up the great work! 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review
button in the Reviewers tab.
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 your submission! 🎉 Your code is well-structured and covers a wide range of functionalities for the cinema application. However, there are a few important issues that need attention:
-
Database Files: Ensure that no database files (e.g.,
.sqlite
,.db3
) are pushed to the repository. -
Pagination Settings: Add pagination settings in the
settings.py
file to ensure theGET api/cinema/orders/
endpoint implements pagination. -
POST api/cinema/orders/ Endpoint: Verify that the
POST api/cinema/orders/
endpoint correctly creates a new order for the authenticated user. -
Filtering for Movies and Movie Sessions: Ensure filtering for movies by genres, actors, and title, as well as filtering for movie sessions by date and movie, is thoroughly tested.
-
GET /api/cinema/movie_sessions/1/ Endpoint: Make sure this endpoint returns taken places with a
tickets_available
field and is properly tested.
Your effort and dedication are evident, and this decision is made to help you move forward with your learning. Please review the comments and address these issues to improve your code. Keep up the great work and continue learning from your experiences! 🚀
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
No description provided.