February 2008
Beginner
528 pages
9h 53m
English
This appendix is a quick reference for when you add fields to forms. The first section of this appendix discusses the different types of field objects. The second section discusses the Widget objects that translate to HTML elements. The third section discusses form field to model field mapping.
You can add several different types of fields to forms. The advantage of different types of fields is that the form can more closely match the data types that are put into it and validated.
The following sections describe the different types of Field objects.
BooleanFieldThe BooleanField is used to display an HTML checkbox input element. The following list describes the BooleanField:
Default Widget: CheckboxInput ...
Read now
Unlock full access