#4387: newforms: ErrorDict.as_ul() needs to handle a list of errors
------------------------------------------------+---------------------------
Reporter: Thomas Güttler <[EMAIL PROTECTED]> | Owner:
adrian
Status: closed | Component:
django.newforms
Version: SVN | Resolution:
invalid
Keywords: | Stage:
Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------------------------------+---------------------------
Changes (by Thomas Güttler <[EMAIL PROTECTED]>):
* status: new => closed
* resolution: => invalid
Comment:
Yes, this path is not necessary. I tried to write a ErrorDict to stout
(for debugging: print myform.errors).
This resulted in a UnicodeError. Since as_text() loops over each value of
the dict, I thought it would
be necessary for as_ul(), too. But the real problem is that writing to
stout for debugging
does not handle unicode.
--
Ticket URL: <http://code.djangoproject.com/ticket/4387#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---