Closed saziosu closed 11 months ago
Added the BookDeleteView to views.py this includes the LoginRequiredMixin and UserPassesTestMixin to ensure this can only be completed by the owner of the book post.
Added book_delete.html and wired up the url. This is successfully deleting the appropriate post. Next steps will be adding the cancel deletion button and adding the delete buttons to the posts.
Added the cancel deletion button to the deletion page. This brings the user back via the window history if they went to cancel the wrong post.
Added the deletion buttons to index.html and book_detail.html to allow the user on the front end to delete the posts. This is only seen by users that made the individual post.
Epic: #5
As a User, I can delete my book post so that I can manage my posts
Acceptance Criteria:
Tasks: