Re: FormSet max_num and extra

2009-03-15 Thread Kegan Gan
Ah, got it! Many thanks Malcolm. On Mar 16, 5:58 am, Malcolm Tredinnick wrote: > On Sun, 2009-03-15 at 04:25 -0700, Kegan wrote: > > I am dealing with formset, and finding the lack of documentation in > > understanding it. Hope anyone experienced with formset could help. > > At some point just

Re: FormSet max_num and extra

2009-03-15 Thread Malcolm Tredinnick
On Sun, 2009-03-15 at 04:25 -0700, Kegan wrote: > I am dealing with formset, and finding the lack of documentation in > understanding it. Hope anyone experienced with formset could help. At some point just opening up the relevant source file is always a good solution. It's only Python code and no

FormSet max_num and extra

2009-03-15 Thread Kegan
I am dealing with formset, and finding the lack of documentation in understanding it. Hope anyone experienced with formset could help. What is the reason to have a "max_num" and "extra" argument when instantiating a form set (using formset_factory)? Can't you just use "max_num" to determine the n