#5996: psycopg2 raises "can't adapt" error where other backends work happily
------------------------+---------------------------------------------------
Reporter: zgoda | Owner: anonymous
Status: assigned | Component: Database wrapper
Version: SVN | Resolution:
Keywords: | Stage: Ready for checkin
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------+---------------------------------------------------
Changes (by [EMAIL PROTECTED]):
* has_patch: 0 => 1
* stage: Accepted => Ready for checkin
Comment:
Fixed by adding a field test for saving a SafeUnicode object in a model
and patching the psycopg2 backend.
See attached patch for both unit test and fix.
--
Ticket URL: <http://code.djangoproject.com/ticket/5996#comment:6>
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
-~----------~----~----~----~------~----~------~--~---