From f69ce152bef9d861af0a42d46dbfa446ab335a40 Mon Sep 17 00:00:00 2001 From: juddin22 Date: Fri, 3 Apr 2026 18:12:50 -0400 Subject: [PATCH] Just fixed the lab. --- project/app/database.sqlite | Bin 159744 -> 159744 bytes project/app/models.py | 1 + 2 files changed, 1 insertion(+) diff --git a/project/app/database.sqlite b/project/app/database.sqlite index 85cf7b67315dca3d95d6392be2bfa2e3b6532e12..9a0af4af72d07cf2c3ab90bbaacb427edfd89a86 100644 GIT binary patch delta 200 zcmZp8z}fJCbAmKukBcOXMZE_}!TKU-Dn!-_2jf-_1XZe+7RMe+a+Z#zrlE zJ{~@1S;oYIg801rl2qpA5dG~T`ivVMa53}mW&mos#J_v9V8U8{S5anG25nwOrLfeZ zN(GP9#GI0hN+msJQ6{jkXNf{ietvebLV8hZVu>D;C?hL_E-$BNiF&a@8AwM-VsS~O s-Zlj$76qWu9~k)m@PFg~05tj$zW^&UBO^02h-6}7X6EEv7Qmzc0Qd7X{{R30 delta 74 zcmV-Q0JZ;s;0b`>36L8BR*@V-0ameKq#qUu4^#sW=?~NoyAO5`iw~L)s1ITfRI!0N g4}(-Mw^T0yu;8Nva1f^iAOawx1Yi)i1W*F}ADhz{3;+NC diff --git a/project/app/models.py b/project/app/models.py index f01f4ce..9418d6c 100644 --- a/project/app/models.py +++ b/project/app/models.py @@ -7,6 +7,7 @@ class Recipe(Model): def to_dict(self): return { + "id": self.id, "name": self.name, "url": self.url, "ingredients": [i.text for i in self.ingredients.all()],