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
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
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
3 matches
Mail list logo