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

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

Solution #531

wants to merge 3 commits into from

Conversation

OlPlaksa
Copy link

No description provided.

Copy link

@vasylhnatiuk vasylhnatiuk left a comment

Choose a reason for hiding this comment

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

fix tests

@OlPlaksa OlPlaksa requested a review from vasylhnatiuk October 11, 2023 13:49
main.py Outdated
Comment on lines 42 to 53
Genre.objects.filter(
name="Action"
).delete()

Actor.objects.filter(
first_name="Scarlett"
).delete()

smith = Actor.objects.filter(
last_name="Smith"
).order_by("first_name")
return smith
Copy link

Choose a reason for hiding this comment

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

Suggested change
Genre.objects.filter(
name="Action"
).delete()
Actor.objects.filter(
first_name="Scarlett"
).delete()
smith = Actor.objects.filter(
last_name="Smith"
).order_by("first_name")
return smith
Genre.objects.filter(name="Action").delete()
Actor.objects.filter(first_name="Scarlett").delete()
return Actor.objects.filter(last_name="Smith").order_by("first_name")

main.py Outdated
Comment on lines 28 to 30
Genre.objects.filter(
name="Dramma"
).update(name="Drama")
Copy link

Choose a reason for hiding this comment

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

Suggested change
Genre.objects.filter(
name="Dramma"
).update(name="Drama")
Genre.objects.filter(name="Dramma").update(name="Drama")

@OlPlaksa OlPlaksa requested a review from vsmutok October 11, 2023 16:52
Copy link

@vsmutok vsmutok left a comment

Choose a reason for hiding this comment

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

Great 👍

Copy link

@vsmutok vsmutok left a comment

Choose a reason for hiding this comment

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

Great 👍

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.

3 participants