How to detect and handle
How to validate data from
POST requests against the model
How to update data in the database using forms</objective> <objective>
How to add new objects to the database using forms</objective> </feature>
In Hour 10, “Adding Forms to Views,” you learned how to create
Form objects and render them as HTML. In this hour, we will extend that concept and show you how to use rendered forms to update the database.
The following sections take you through the process of displaying the
Form during a
GET request, retrieving the updated data ...