-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
File "/usr/local/lib/python3.3/site-packages/mysql_pymysql/base.py", line 29, in
from django.utils.safestring import SafeString, SafeUnicode
ImportError: cannot import name SafeUnicode
Django version: Dev (Version 1.5 has same problem)
Modified the following...
SafeString ==> SafeBytes
SafeUnicode ==> SafeText
File "/usr/local/Cellar/python3/3.3.1/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/PyMySQL3-0.5-py3.3.egg/pymysql/cursors.py", line 108, in execute
==>
96 if isinstance(query, bytes):
97 query = query.encode(charset)
then seems worked...
Metadata
Metadata
Assignees
Labels
No labels