﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19983	Improving this part from confusion	fourmikichante@…	nobody	"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:

class Poll(models.Model):
    # ...
    def __unicode__(self):
        return self.question

class Choice(models.Model):
    # ...
    def __unicode__(self):
        return self.choice_text
***************************

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 ?"	Cleanup/optimization	closed	Documentation	1.5	Normal	needsinfo			Unreviewed	0	0	0	0	0	0
