From f0fbe7deff97cb2baa75f4f617dfb88165788a9b Mon Sep 17 00:00:00 2001 From: SandraBergstrom Date: Fri, 28 Apr 2023 12:40:06 +0000 Subject: [PATCH] Add image field in recipe detail template to show recipe image --- README.md | 5 +++++ cookbook/models.py | 2 +- cookbook/templates/cookbook/base.html | 21 -------------------- cookbook/templates/cookbook/home.html | 2 +- cookbook/templates/cookbook/recipe_form.html | 3 ++- 5 files changed, 9 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 75cbf86..a96cb33 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ Registration form ## Bugs ### Known bugs +- Last updated not working in recipe detail. - Prep time and cooking time is showing seconds and not minutes - Default profile pic is not showing. Tried both to add a direct link to cloudinary and to store it locally. - Default recipe pic is not showing. @@ -124,9 +125,13 @@ Registration form ### Solved bugs - Update user profle form is not working. Keep getting the error message: Type Error at /profile/. Exception Value: 'UserUpdateForm' object is not iterable. - Solved: Forgot to put inherit forms.ModelForm in the class UserUpdateForm. + - Cancel in delete view not working. Asking for a success url. - Had to switch from