My apologies if this posts twice. I did not see the original post show up.
I am trying to do an insert into a mysql DB from web.py. From python, I am
using the MySQL library like this:
import MySQLdb
I have a DB defined like this:
db = web.database(dbn='mysql', user='root', pw='root', db='todo')
I have the following line
db.insert('todo', todo_name="test 2")
Everything after the space is truncated. Any ideas on how to have the
entire string inserted?
Thanks,
Scott
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/webpy/-/_eiGEEw-QdQJ.
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/webpy?hl=en.