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

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

solution #1107

wants to merge 1 commit into from

Conversation

kkkkkkkkatya
Copy link

No description provided.

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 core functionality! 🎉 While there are some minor improvements suggested, such as using a list of tuples for actors and ensuring migrations are included, these do not critically impact the functionality. Keep up the good work and consider the feedback for future enhancements! 😊

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



def main() -> QuerySet:
pass
for genre in ["Western", "Action", "Dramma"]:

Choose a reason for hiding this comment

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

There is a typo in the genre name 'Dramma'. It should be 'Drama'. However, this is corrected later in the code, so it doesn't affect the final result.

Comment on lines +13 to +15
for actor in ["George Klooney", "Kianu Reaves",
"Scarlett Keegan", "Will Smith",
"Jaden Smith", "Scarlett Johansson"]:

Choose a reason for hiding this comment

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

Consider using a list of tuples for actors, where each tuple contains the first and last name. This would eliminate the need to split the names later.

Comment on lines +41 to +43
Actor.objects.filter(
first_name="Scarlett",
).delete()

Choose a reason for hiding this comment

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

The deletion of actors with the first name 'Scarlett' will remove both 'Scarlett Keegan' and 'Scarlett Johansson'. Ensure this is the intended behavior.

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.

2 participants