From 3774e04fe6020eda349a85301a5be256b45bd105 Mon Sep 17 00:00:00 2001 From: Andrii Ovod Date: Thu, 19 Dec 2024 13:20:42 +0200 Subject: [PATCH] deleted if __name__ == "__main__": --- main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.py b/main.py index 674afee7..4b563e8d 100644 --- a/main.py +++ b/main.py @@ -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())