Skip to content

Commit

Permalink
deleted if __name__ == "__main__":
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Ovod committed Dec 19, 2024
1 parent e7339a0 commit 3774e04
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,3 @@ def main() -> QuerySet:
Genre.objects.filter(name="Action").delete()
Actor.objects.filter(first_name="Scarlett").delete()
return Actor.objects.filter(last_name="Smith").order_by("first_name")


if __name__ == "__main__":
print(main())
print(Genre.objects.all())
print(Actor.objects.all())

0 comments on commit 3774e04

Please sign in to comment.