On Sun, 2008-04-13 at 18:28 -0700, steve skelton wrote:
> sorry I forgot to specify - am using 0.96.1 (django) and MySQL 5.0.51a
> (server) and 5.1.11 (client) and my local install is on Vista laptop
> with Apache and PHP also installed.

Unicode support went in after 0.96 was released (and 0.96.1 is 0.96 +
security fixes only), so the __unicode__ method will not be called in
your example.

I see now that we've accidentally left off the "new in development
version" annotation on the __unicode__ documentation in model-api.txt,
but, anyway, that's the situation. Use __str__ only for 0.96.

Regards,
Malcolm

-- 
I just got lost in thought. It was unfamiliar territory. 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
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.com
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