Project Challenge: Updating and Deleting Pets
In this challenge, you will be given the task of updating and deleting pets.
Problem statement
In this challenge you are required to implement the following features:
-
Add and edit pet form: you will create a new form that contains all the fields to edit a pet.
-
Modify
pet_details
to edit the pet: make necessary changes in thepet_details
view so that it can show the new form and handle form data to edit the pet. -
Add a delete pet button: you will create a button in the Pet Details page that can be used to delete the pet.
-
Add a
delete_pet
view: for the purpose of deleting the pet, you will also have to create a new view calleddelete_pet
. This view should redirect to the Home page after deletion.
Get hands-on with 1400+ tech skills courses.