On 15-Oct-07, at 10:57 AM, Malcolm Tredinnick wrote:

> So, in the rare case where, say, self.sponsor is a UTF-8 string,
> Kenneth's version might lead to trouble down the track -- but I would
> have thought that trouble would be mis-displayed strings, rather  
> than a
> crash.

ok - when I put 'u' in the __unicode__() method, no crash
>
> Still, it would be worth checking that self.sponsor and self.child
> really are Unicode strings (and not bytestrings) in the case where a
> crash occurs, Kenneth. Or at least working out what they *are* when  
> the
> crash occurs.

i dont know whether I know how to do that - but will try.

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to