Changes between Initial Version and Version 1 of Ticket #6052
- Timestamp:
- Nov 29, 2007, 8:38:28 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6052 – Description
initial v1 1 1 Hello. 2 2 3 cleaned_data['content'] is type django.utils.safestring.SafeUnicode 3 {{{cleaned_data['content']}}} is type `django.utils.safestring.SafeUnicode` 4 4 5 5 This get error when recording in a database. … … 8 8 9 9 In _mysql.c: 10 static PyObject * _escape_item( PyObject *item, PyObject *d){ PyObject *quoted=NULL, *itemtype, *itemconv; 10 {{{ 11 static PyObject * _escape_item( PyObject *item, PyObject *d){ 12 PyObject *quoted=NULL, *itemtype, *itemconv; 11 13 if (!(itemtype = PyObject_Type(item))) goto error; 12 14 itemconv = PyObject_GetItem(d, itemtype); 15 }}} 13 16 14 Temporary solution to the problem: unicode(cleaned_data['content'])17 Temporary solution to the problem: {{{unicode(cleaned_data['content'])}}} 15 18