Re: Newforms Field Limit Question

2007-10-11 Thread machineghost
You are absolutely right Joseph, it was a bug in my code :-( I had: forms.ChoiceField(choices=["Yes", "No"]) instead of: forms.ChoiceField(choices=[("Yes", 1), ("No", 0)]) Thanks for the help. Jeremy --~--~-~--~~~---~--~~ You received this message because you a

Re: Newforms Field Limit Question

2007-10-11 Thread Joseph Kocherhans
On 10/10/07, machineghost <[EMAIL PROTECTED]> wrote: > > I recently attempted to implement a very large form using the newforms > library, and I discovered that if a form contains more than 45 fields > it generates a "too many values to unpack" error when you try to > render it in a template. Doe

Newforms Field Limit Question

2007-10-10 Thread machineghost
I recently attempted to implement a very large form using the newforms library, and I discovered that if a form contains more than 45 fields it generates a "too many values to unpack" error when you try to render it in a template. Does anyone know if this is deliberate (either because of some Pyt