Re: Default representation of a Form

2006-12-10 Thread Adrian Holovaty
On 12/10/06, Gary Wilson <[EMAIL PROTECTED]> wrote: > What if instead of adding various as_* methods that we have a > FormFormatter class that determines how the form displays. The > _html_output and as_* methods would become FormFormatters. Formatter > could be a parameter to the Form construc

Re: newforms feedback

2006-12-10 Thread Gary Wilson
Gary Wilson wrote: > I am also a fan of validator_list. As someone mentioned earlier, it is > sometimes preferable to have two levels of data validation, at the form > level and the model level. I have several cases where I have multiple > forms that save to the same model in some way but use di

Re: Default representation of a Form

2006-12-10 Thread Gary Wilson
Lachlan Cannon wrote: > Lakin Wecker wrote: > > as_dl() gets a +1 from me. I've used definition lists for forms and > > prefer it over tables. :) > > Maybe there needs to be an easy hook for people to specify their own way of > laying a form out. It seems the as_ methods are gonna keep growing an