coding error: gb2312 can't save

22 views
Skip to first unread message

cwl19...@gmail.com

unread,
Oct 27, 2014, 5:20:12 AM10/27/14
to django...@googlegroups.com
python2.7
django1.7
mysql

i am come from chinese.

when i save tags use chinese, i cause an error , and fail.

like that:


after save(), it cause a error:

"Warning at /admin/house/house/add/

Some non-transactional changed tables couldn't be rolled back"

when i trace the debug, i found that: Tag.objects.create(name=u'中国人') cause the error.

please help me!
thanks



Reply all
Reply to author
Forward
0 new messages