Re: Proposal: form_for_model exclude_fields

2007-11-05 Thread Italo Maia
Is this an yes, a no, a maybe? It would be a pretty useful option. On Oct 16, 12:43 am, Gary Wilson <[EMAIL PROTECTED]> wrote: > Russell Keith-Magee wrote: > > On 10/13/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > >> I know the argument list for form_for_model is getting long, but > >> excl

Re: Proposal: form_for_model exclude_fields

2007-10-15 Thread Gary Wilson
Russell Keith-Magee wrote: > On 10/13/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: >> I know the argument list for form_for_model is getting long, but >> excluding fields is just so damn useful ;) > > +1 from me. Personally, I'm in favour of making form_for_model as > flexible as possible. I

Re: Proposal: form_for_model exclude_fields

2007-10-14 Thread Malcolm Tredinnick
On Sun, 2007-10-14 at 20:47 +0800, Russell Keith-Magee wrote: > On 10/13/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > > > I'd like to add an 'exclude_fields' keyword argument to > > form_for_model, etc. exclude_fields would be a list of field names > > that should be excluded from the form

Re: Proposal: form_for_model exclude_fields

2007-10-14 Thread Russell Keith-Magee
On 10/13/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > I'd like to add an 'exclude_fields' keyword argument to > form_for_model, etc. exclude_fields would be a list of field names > that should be excluded from the form. If both 'fields' and > 'exclude_fields' were passed in, exclude_fields

RE: Proposal: form_for_model exclude_fields

2007-10-13 Thread Michael Elsdoerfer
> I'd like to add an 'exclude_fields' keyword argument to > form_for_model, etc. exclude_fields would be a list of field names > that should be excluded from the form. Maybe you are already aware of this, but I believe you can exclude fields if you return None in the formfield callback. It's not