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.  Does anyone know if this is deliberate
> (either because of some Pythonic limitation or simply to stop people
> from making insanely large forms), or whether this is something I
> should file a bug for?  If it is deliberate, I think that a line
> somewhere in the documentation about it would be helpful to anyone
> else who tries to make a way-too-big form.

This sounds more like a bug in *your* code than a bug in Django. There
is no limit that I'm aware of. "too many values to unpack" often
happens when you try to unpack what you think is a tuple but is
actually a sting... ie ('test') instead of ('test',).

No one can really help unless you post a traceback though.

Joseph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to