Changes between Initial Version and Version 1 of Ticket #6052


Ignore:
Timestamp:
Nov 29, 2007, 8:38:28 AM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

Fixed description formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6052 – Description

    initial v1  
    11Hello.
    22
    3 cleaned_data['content'] is type django.utils.safestring.SafeUnicode
     3{{{cleaned_data['content']}}} is type `django.utils.safestring.SafeUnicode`
    44
    55This get error when recording in a database.
     
    88
    99In _mysql.c:
    10 static PyObject * _escape_item( PyObject *item, PyObject *d){ PyObject *quoted=NULL, *itemtype, *itemconv;
     10{{{
     11static PyObject * _escape_item( PyObject *item, PyObject *d){
     12    PyObject *quoted=NULL, *itemtype, *itemconv;
    1113    if (!(itemtype = PyObject_Type(item))) goto error;
    1214    itemconv = PyObject_GetItem(d, itemtype);
     15}}}
    1316
    14 Temporary solution to the problem:  unicode(cleaned_data['content'])
     17Temporary solution to the problem:  {{{unicode(cleaned_data['content'])}}}
    1518
Back to Top