[cookboob] author field added

This commit is contained in:
Julien Veyssier 2013-03-25 02:39:41 +01:00 committed by Florent
commit d391d1a2d8
8 changed files with 32 additions and 2 deletions

View file

@ -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

View file

@ -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