Define __unicode__ on models instead of __str__.
authorMatthijs Kooijman <matthijs@stdio.flexvps.nl>
Thu, 27 Nov 2008 22:09:05 +0000 (23:09 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sat, 10 Jan 2009 12:01:21 +0000 (13:01 +0100)
When the result of __str__ is a unicode object containing non-ascii characters,
str(instance) barfs with an encoding error.


No differences found