November 2015
Beginner to intermediate
840 pages
26h 30m
English
We have our Django forms, and the templates to display the forms—it is time to build our views and URL patterns to put it all together.
Previously programmed views had a single goal: display information to the user. Views built with forms are more complicated, as the user must interact with the form and therefore with the view. The view must now display a form, accept data, and potentially display a form with errors.
We start by implementing views for the webpages meant to create objects. We then move on to webpages to update objects and finish with the pages meant to delete objects. By the end of Chapter 9, we will have fully implemented CRUD (create, read, update, delete) on our website.
Read now
Unlock full access