﻿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
19965	Problem with __unicode__ in your tutorial	petergoldsborough@…	nobody	"Hi,

After having awaited Django 1.5 for a long time, I immediately wanted to start to learn how to use it. For this, I'm using your official tutorial on djangoproject.com. Unfortunately I encountered difficulties with __unicode__ on page 1 of your tutorial.

After having followed your instructions I had the problem that even though I incorporated the __unicode__ function in my models.py file, Poll.objects.all() would still only show me [(Poll: Poll Object)] instead of showing my question. After spending a lot of time figuring out the problem, in the process even opening up a hole new project, I, today, more or less by accident tried out putting __str__ instead of __unicode__ in the function and miraculously it worked and I got [(Poll: ""What's up?"")] whereas with __unicode__ I didn't. 

I don't know what you can make of this as I'm not an expert (yet). I just thought I would share my discovery with you.

Kind regards and keep up the great work, 

Peter Goldsborough"	Bug	closed	Documentation	1.5	Normal	fixed	unicode, tutorial, python 3.2		Ready for checkin	1	0	0	0	1	0
