O'Reilly logo

Django 1.1 Testing and Debugging by Karen M. Tracey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Handling multiple Survey questions

We have the display of a single question form working, what's left to do? First, we need to handle the display of however many questions that are associated with a survey, instead of just a single question. Second, we need to handle receiving, validating, and processing the results. We'll focus on the first task in this section.

Creating the data for multiple questions

Before writing the code to handle multiple questions, let's add another question to our test survey so that we'll be able to see the new code work. The upcoming examples will display this additional question:

Creating the data for multiple questions

Coding support for multiple questions

Next ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required