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 #748

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Solution #748

wants to merge 3 commits into from

Conversation

Den-k0
Copy link

@Den-k0 Den-k0 commented Dec 9, 2024

No description provided.

Copy link

@pohgen pohgen left a comment

Choose a reason for hiding this comment

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

good

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! 🎉 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! ✨

Copy link

@AnyoneClown AnyoneClown left a 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

Comment on lines 54 to 57
instance.first_name = validated_data.get(
"first_name", instance.first_name)
instance.last_name = validated_data.get(
"last_name", instance.last_name)

Choose a reason for hiding this comment

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

Fix indentation.

Suggested change
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
)

Comment on lines 75 to 77
instance.seats_in_row = validated_data.get(
"seats_in_row", instance.seats_in_row)

Choose a reason for hiding this comment

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

Same thing here

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.

4 participants