projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
f17ba3f
)
Define __unicode__ on models instead of __str__.
author
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Thu, 27 Nov 2008 22:09:05 +0000
(23:09 +0100)
committer
Matthijs 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