You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hello,
I have a column in a table that contains Hebrew text. I need to do a query with a LIKE clause on the Hebrew text. The query works if I execute the SQL directly, either in a SQL window of phpMyAdmin or in a command line mysql client. But I cannot get it to work within Django.
I tried Bible.objects.filter(hebrew_text__contains('דֶּשֶׁא') and I get nothing back.
django.db.utils.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'דֶּשֶׁא'%'' at line 3")
I am using
Django 1.9
Python 3
mysqlclient 1.3.7
MySQL 5.5.49
Any ideas?
-- Art Z.
Art Zemon
unread,
Jul 8, 2016, 4:42:21 PM7/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Never mind... this is s duplicate of a post that I made via email last night. The emailed one finally showed up. I guess it had been held for moderation.