[cookboob] author field added
This commit is contained in:
parent
b0d9a43a76
commit
d391d1a2d8
8 changed files with 32 additions and 2 deletions
|
|
@ -52,6 +52,7 @@ class MarmitonBackend(BaseBackend, ICapRecipe):
|
|||
recipe.instructions = rec.instructions
|
||||
recipe.ingredients = rec.ingredients
|
||||
recipe.comments = rec.comments
|
||||
recipe.author = rec.author
|
||||
recipe.nb_person = rec.nb_person
|
||||
recipe.cooking_time = rec.cooking_time
|
||||
recipe.preparation_time = rec.preparation_time
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ class ResultsPage(BasePage):
|
|||
recipe.thumbnail_url = thumbnail_url
|
||||
recipe.short_description = short_description
|
||||
recipe.instructions = NotLoaded
|
||||
recipe.author = NotLoaded
|
||||
recipe.ingredients = NotLoaded
|
||||
recipe.nb_person = NotLoaded
|
||||
recipe.cooking_time = NotLoaded
|
||||
|
|
@ -101,4 +102,5 @@ class RecipePage(BasePage):
|
|||
recipe.picture_url = picture_url
|
||||
recipe.comments = comments
|
||||
recipe.thumbnail_url = NotLoaded
|
||||
recipe.author = NotAvailable
|
||||
return recipe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue