diff --git a/project/app/database.sqlite b/project/app/database.sqlite index 85cf7b6..9a0af4a 100644 Binary files a/project/app/database.sqlite and b/project/app/database.sqlite differ 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()],