Re: newforms-admin FormSet API

2008-05-28 Thread Brian Rosner
> Should I be looking at any other documentation, or code, that you are > developing? Yes. What you have brought up is actually not the use case for formsets. However, you do bring up something that makes me want to clarify in the docs a bit more. When I say multiple forms per page, that reall

Re: newforms-admin FormSet API

2008-05-28 Thread Brian Rosner
On 2008-05-27 05:33:01 -0600, "Russell Keith-Magee" <[EMAIL PROTECTED]> said: > Is there any particular reason that you can't just add a Meta class to > this class definition, in the same way that a ModelForm works: > > class ArticleFormSet(FormSet) > class Meta: > form = ArticleFor

Re: newforms-admin FormSet API

2008-05-27 Thread Gary Davis
I'm a Django newbie, so please pardon me if I am asking stupid questions or raising issues long-solved, but ... I have some requirements similar to these that you are discussing for 'formsets', and maybe my experience can help a little.. I went ahead and built myself a 'formset' factory, of sort

Re: newforms-admin FormSet API

2008-05-21 Thread Joseph Kocherhans
On Wed, May 21, 2008 at 8:44 AM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > However, that said: I might be missing something here, but we've just > gone through the process of deprecating form_for_model and > form_for_instance based upon the reasoning that a class based form > definition i

Re: newforms-admin FormSet API

2008-05-21 Thread Honza Král
Hi Brian, from our uses of the nfa, we found that these API are more than adequate for any use we could think of, which includes: generic edit inlines custom validation if both forms and formsets added logic (including fields) in forms (even in forms used in inline formsets) and model creation (.

Re: newforms-admin FormSet API

2008-05-21 Thread Russell Keith-Magee
On Wed, May 21, 2008 at 5:56 AM, Brian Rosner <[EMAIL PROTECTED]> wrote: > > Hello all, > > The newforms-admin branch is getting close to finalizing the formset > API. However, to do so we would like to run it by the developer > community for ideas. I have posted a diff [1] of documentation showin

newforms-admin FormSet API

2008-05-20 Thread Brian Rosner
Hello all, The newforms-admin branch is getting close to finalizing the formset API. However, to do so we would like to run it by the developer community for ideas. I have posted a diff [1] of documentation showing the API. The diff shows the API without a leading underscore on the factor