Bake It Better is a blog-style website for users to share baking recipes. The site has been created for the fourth portfolio project for Code Institute's Diploma in Full Stack Software Development.
0
stars
1
forks
source link
User Story: View My Starred Bakes on a separate webpage #16
As a site user, I can view all of my starred bakes on a single page, so that I can use this page for reference to quickly find bakes that I have marked as starred.
Acceptance Criteria
When a user is logged in, a link is displayed in the navbar linking to My Starred Bakes
When a user clicks on the My Starred Bakes link, they are taken to a page showing all the bakes that they have starred
If a user attempts to access the My Starred Bakes page while not logged in (for example via their history), a message is displayed asking them to log in to view their starred bakes and providing a link to do so
Tasks:
Create new html page for My Starred Bakes, including for loop to list all bakes starred by the logged-in user and an error message to display in case of a non-logged-in user attempting to access the page
Create view for My Starred Bakes in views.py
Create path in urlpatterns for My Starred Bakes in urls.py
As a site user, I can view all of my starred bakes on a single page, so that I can use this page for reference to quickly find bakes that I have marked as starred.
Acceptance Criteria
Tasks: Create new html page for My Starred Bakes, including for loop to list all bakes starred by the logged-in user and an error message to display in case of a non-logged-in user attempting to access the page Create view for My Starred Bakes in views.py Create path in urlpatterns for My Starred Bakes in urls.py