Note that __unicode__ is __str__ in python 3
|Reported by:||anonymous||Owned by:||nobody|
|Severity:||Normal||Keywords:||unicode python3 str|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The documentation at https://docs.djangoproject.com/en/1.5/intro/tutorial01/ does not mention the change in Python 3 where
__unicode__ does not exist and
__str__ now returns unicode strings. Would be nice to put it in as I didn't know this about python 3 until I looked up why the tutorial code wasn't working.