Chapter 7. Form Processing

After following along with the last chapter, you should now have a fully functioning if somewhat simple site. In this chapter, we'll deal with the next piece of the puzzle: building views that take input from readers.

We'll start by making a simple search form "by hand" and looking at how to handle data submitted from the browser. From there, we'll move on to using Django's forms framework.

Search

The Web is all about search. Two of the Net's biggest success stories, Google and Yahoo, built their multibillion-dollar businesses around search. Nearly every site sees a large percentage of traffic coming to and from its search pages. Often the difference between a site's success or failure is the ...

Get The Definitive Guide to Django: Web Development Done Right now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.