Re: newforms: generating forms from models enhancements

2006-12-17 Thread Honza Král
On 12/18/06, Gary Wilson <[EMAIL PROTECTED]> wrote: > > Honza Král wrote: > > On 12/18/06, Gary Wilson <[EMAIL PROTECTED]> wrote: > > > > > > Honza Král wrote: > > > > On 12/17/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > > > Feel free to take > > > > > on any of the items mentioned in this

Re: newforms: generating forms from models enhancements

2006-12-17 Thread Gary Wilson
Honza Král wrote: > On 12/18/06, Gary Wilson <[EMAIL PROTECTED]> wrote: > > > > Honza Král wrote: > > > On 12/17/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > > Feel free to take > > > > on any of the items mentioned in this e-mail, as long as we've all > > > > agreed on the right way to sol

Re: newforms: generating forms from models enhancements

2006-12-17 Thread Gary Wilson
Gary Wilson wrote: > Some more suggestions based on things that I have experienced while > recently making an application that required many forms based on > models: > > - Ability to not display certain fields, mainly for when the value will > be post-filled in the view (i.e. the owner of an obje

Re: newforms: generating forms from models enhancements

2006-12-17 Thread Gary Wilson
Some more suggestions based on things that I have experienced while recently making an application that required many forms based on models: - Ability to not display certain fields, mainly for when the value will be post-filled in the view (i.e. the owner of an object being set to the logged in u

Re: newforms: generating forms from models enhancements

2006-12-17 Thread Honza Král
On 12/18/06, Gary Wilson <[EMAIL PROTECTED]> wrote: > > Honza Král wrote: > > On 12/17/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > Feel free to take > > > on any of the items mentioned in this e-mail, as long as we've all > > > agreed on the right way to solve the problems. Rewriting the >

Re: newforms: generating forms from models enhancements

2006-12-17 Thread Gary Wilson
Honza Král wrote: > On 12/17/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > Feel free to take > > on any of the items mentioned in this e-mail, as long as we've all > > agreed on the right way to solve the problems. Rewriting the > > validators to Fields would be a much-welcomed contribution, t

Re: newforms: generating forms from models enhancements

2006-12-17 Thread Honza Král
On 12/17/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 12/16/06, Honza Král <[EMAIL PROTECTED]> wrote: > > there are a few things I would like to see in there (or where > > appropriate) and don't know if somebody is already working on it (or > > other things that would clash with this effor

Re: newforms: generating forms from models enhancements

2006-12-17 Thread Honza Král
On 12/17/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > Adrian Holovaty wrote: > > Yes, there should be a way to specify the widget for a field in the > > model. The question is, should it be specified as a keyword argument > > to the field declaration, or should it be passed in the "class Admin"

Re: newforms: generating forms from models enhancements

2006-12-17 Thread Ivan Sagalaev
Adrian Holovaty wrote: > Yes, there should be a way to specify the widget for a field in the > model. The question is, should it be specified as a keyword argument > to the field declaration, or should it be passed in the "class Admin"? Would it be better to specify it as and additional parameter

Re: newforms: generating forms from models enhancements

2006-12-16 Thread Adrian Holovaty
On 12/16/06, Honza Král <[EMAIL PROTECTED]> wrote: > there are a few things I would like to see in there (or where > appropriate) and don't know if somebody is already working on it (or > other things that would clash with this effort), or if I should give > it a try. Hi Honza, Thanks for bringi

newforms: generating forms from models enhancements

2006-12-16 Thread Honza Král
Hi all, I would like to ask what is the status of django/newforms/models.py there are a few things I would like to see in there (or where appropriate) and don't know if somebody is already working on it (or other things that would clash with this effort), or if I should give it a try. mainly: -