#13965: psycopg2 throws an "can't adapt" error on ugettext_lazy translated
strings
-------------------------------------------+--------------------------------
Reporter: mitar | Owner: nobody
Status: new | Milestone:
Component: Internationalization | Version: 1.2
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by ch0wn):
* cc: [email protected] (added)
Comment:
Same for lxml.etree._ElementStringResult even though it's coercable to
bytestrings or unicode. Wrapping the element in unicode() fixes it.
Important to note is, that this works without manual casting with the
mysql driver.
--
Ticket URL: <http://code.djangoproject.com/ticket/13965#comment:6>
Django <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.