O'Reilly logo

Sams Teach Yourself Django in 24 Hours by Brad Dayley

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

Chapter 10. Adding Forms to Views

<feature><title>What You’ll Learn in This Hour</title> <objective>

How to create Form instances

</objective>
<objective>

How to render Form objects as HTML code

</objective>
<objective>

How to render forms for models and objects

</objective>
<objective>

How to create custom forms by customizing Widgets and using custom templates

</objective>
</feature>

Forms are a basic element of any website. HTML forms are used to collect input from users. This input can be used to change data in the database, configure settings, send emails, and perform various other tasks.

Django provides a useful library to help you create and handle forms. The Django forms library is intended to handle HTML form display, data processing, and redisplay. ...

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