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)
commitf17ba3f9ec768ead9811c8e93a20328755fcecfd
tree7eaa0b84d4833f77a050b0e96ffebea80b249aaa
parenteff196a2dbe88c8dcde0498ef2722e95d5349020
Define __unicode__ on models instead of __str__.

When the result of __str__ is a unicode object containing non-ascii characters,
str(instance) barfs with an encoding error.
influences/models.py