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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.