Re: When to use Form API

2010-12-08 Thread ringemup
This. Form processing is one of those tedious things 90% of which is the same in every form: field definition, display, validation, and error handling/presentation. Django takes care of the repetitive parts, and if you need to customize the validation or display, allows you to do so while still a

Re: When to use Form API

2010-12-08 Thread Wayne Smith
It is important to distinguish between display and functionality with forms. What I mean is, using the forms does not mean you have to render (display) them the way Django has it set up by default. I always use the Form API, and if I need custom validation on a field or the entire form, I overrid

When to use Form API

2010-12-08 Thread christian.posta
Do django developers use the Form API any time form elements need to be displayed to users? Or do you just code the form yourself in the templates and manually process them for smaller forms? In general, is it always better to use the Form API for any form you display, regardless how simple, becau