Project Challenge: 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 the pet_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 called delete_pet. This view should redirect to the Home page after deletion.

Get hands-on with 1200+ tech skills courses.