﻿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
4856	Error in tutorial	daniel.lauk@…	Jacob	"I was following the [http://www.djangoproject.com/documentation/tutorial01/ tutorial]. In interactive mode, for printing, {{{__unicode__()}}} is not being called, but {{{__str__()}}} is.

{{{
#
# Won't work for me
#
class Poll(models.Model):
    question = models.CharField(maxlength=200)
    pub_date = models.DateTimeField('date published')

    def __unicode__(self):
        return self.question
}}}

{{{
#
# Will work for me
#
class Poll(models.Model):
    question = models.CharField(maxlength=200)
    pub_date = models.DateTimeField('date published')

    def __unicode__(self):
        return self.question

    def __str__(self):
        return self.__unicode__()
}}}

System information:
 * Python 2.4.1
 * settings.py: {{{DATABASE_ENGINE = 'sqlite3'}}}
 * Windows 2000"		closed	Documentation	0.96		invalid			Unreviewed	0	0	0	0	0	0
