Improving this part from confusion
|Reported by:||fourmikichante@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
At the point where we are asked to add the unicode method, the tutorial seems to be taking a shortcut by saying :
Wait a minute. <Poll: Poll object> is, utterly, an unhelpful representation of this object. Let’s fix that by editing the polls model (in the polls/models.py file) and adding a unicode() method to both Poll and Choice:
This was very confusing to me, and though i managed to put bits of code together and make this work, I have no idea whether or not i did it right.
Could you perhaps improve this part of the tutorial by being more comprehensive ?