Code

Changes between Initial Version and Version 1 of Ticket #6052


Ignore:
Timestamp:
11/29/07 06:38:28 (7 years ago)
Author:
mtredinnick
Comment:

Fixed description formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6052

    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
  • 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