Re: Damn unicode error

2008-06-25 Thread Alex Slesarev
Difficult to say there is the error exactly, but I can give few hints to avoid this error: 1. Define __unicode__() function for all your models, like this: class BookCategory(models.Model): shortname = models.CharField(max_length = 765, verbose_name =

Re: Damn unicode error

2008-06-25 Thread Alessandro Ronchi
2008/6/24, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > The unicode stuff continues to give me no end of headaches. This > morning I keep getting the error below. As near as I can tell, when I > call AddManipulator it's getting the related fields, and there's a bad > character somewhere in

Re: Damn unicode error

2008-06-24 Thread Etienne Robillard
On Tue, 24 Jun 2008 07:33:14 -0700 (PDT) "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > The unicode stuff continues to give me no end of headaches. This > morning I keep getting the error below. As near as I can tell, when I > call AddManipulator it's getting the related fields, and there's

Damn unicode error

2008-06-24 Thread [EMAIL PROTECTED]
The unicode stuff continues to give me no end of headaches. This morning I keep getting the error below. As near as I can tell, when I call AddManipulator it's getting the related fields, and there's a bad character somewhere in there. My question is, how can I find it? "UnicodeEncodeError: