Skip to content

Commit

Permalink
mnr
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Katkalov committed Sep 6, 2023
1 parent f94d642 commit 7795798
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@

if __name__ == "__main__":
Actor.objects = ActorManager()
# Actor.objects.make_table_clear()

Actor.objects.create(first_name="Emma", last_name="Watson")
Actor.objects.create(first_name="Daniel", last_name="Radclife")
# print(Actor.objects.all())
# Actor.objects.update(1, "Daniel", "Radcliffe")
# print(Actor.objects.all())
Actor.objects.delete(1)
# print(Actor.objects.all())
# Actor.objects.make_table_clear()
# print(Actor.objects.all())
# Actor.objects.create(first_name="Emma", last_name="Watson")
# Actor.objects.create(first_name="Daniel", last_name="Radclife")
# print(Actor.objects.all())
# Actor.objects.update(2, "Daniel", "Radcliffe")
# print(Actor.objects.all())
# Actor.objects.delete(1)
# print(Actor.objects.all())

0 comments on commit 7795798

Please sign in to comment.