#2335: In some cases MySQLdb returns array.array which causes an error in
a2b_base64()
--------------------------------------------+-------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  nobody         
     Status:  reopened                      |            Component:  Admin 
interface
    Version:  SVN                           |           Resolution:             
    
   Keywords:  a2b_base64()                  |                Stage:  Accepted   
    
  Has_patch:  0                             |           Needs_docs:  0          
    
Needs_tests:  0                             |   Needs_better_patch:  1          
    
--------------------------------------------+-------------------------------
Changes (by Thomas Steinacher <[EMAIL PROTECTED]>):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 I can confirm this problem on Debian using python-mysqldb 1.2.1-p2-4. I
 have a TextField in my model. When I enter a value in the admin (e.g.
 "mycontent") and save, the contents of the field becomes "array('c',
 'mycontent')", which is definitely wrong. This happens with utf8_bin, not
 with utf8_general_ci.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2335#comment:21>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to