-
Notifications
You must be signed in to change notification settings - Fork 728
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 #748
base: master
Are you sure you want to change the base?
Solution #748
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
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! 🎉 Your implementation aligns well with the task requirements and follows Django and Django REST Framework conventions. Everything from models to views and serializers is set up correctly, and there are no critical issues affecting functionality. Keep up the excellent work! 🚀
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
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, only small fix
cinema/serializers.py
Outdated
instance.first_name = validated_data.get( | ||
"first_name", instance.first_name) | ||
instance.last_name = validated_data.get( | ||
"last_name", instance.last_name) |
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 indentation.
instance.first_name = validated_data.get( | |
"first_name", instance.first_name) | |
instance.last_name = validated_data.get( | |
"last_name", instance.last_name) | |
instance.first_name = validated_data.get( | |
"first_name", instance.first_name | |
) | |
instance.last_name = validated_data.get( | |
"last_name", instance.last_name | |
) |
cinema/serializers.py
Outdated
instance.seats_in_row = validated_data.get( | ||
"seats_in_row", instance.seats_in_row) | ||
|
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.
Same thing here
No description provided.