Re: How to do not escape a unicode string in Django

2007-07-24 Thread David Larlet
2007/7/24, David Larlet <[EMAIL PROTECTED]>: > 2007/7/23, Jacob Kaplan-Moss <[EMAIL PROTECTED]>: > > It's probably just your shell; try ``print myobject`` instead. > > Before I switched to the unicoded trunk, it works perfectly but know > unicoded string were escaped so I have: > > >>> myobject #

Re: How to do not escape a unicode string in Django

2007-07-24 Thread David Larlet
2007/7/23, Jacob Kaplan-Moss <[EMAIL PROTECTED]>: > It's probably just your shell; try ``print myobject`` instead. Hi Jacob, That's not exactly what I want to do. I use __str__ to get the title of the object and __repr__ to have a representation of this one. To be clear, I implement workflows an

Re: How to do not escape a unicode string in Django

2007-07-23 Thread Jacob Kaplan-Moss
Hi David -- It's probably just your shell; try ``print myobject`` instead. Jacob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.

How to do not escape a unicode string in Django

2007-07-23 Thread David Larlet
Hi, I've just switched from 0.96 to the trunk and follow the quick unicode check list. Here is my problem: I've previously made some tests which verify the render of some __repr__ of my objects and those ones are on multiple lines. E.g.: >>> myobject Now that I've got unicode, it auto-e