﻿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
1912	documentation/tutorial1 corrections	mikeal@…	Jacob	"First off, I love the way you guys write documentation.

Some issues with http://www.djangoproject.com/documentation/tutorial1/

 * At this point you should probably change 2005 to 2006
 * once you define Poll.was_published_today() you need to import datetime into your model.
 * the way your example writes Poll.was_published_today() gives me an attribute error (OSX 10.4.6, python 2.4.3), 

I believe you want to use is;

{{{
#!python
def was_published_today(self):
    return self.pub_date.day == datetime.now().day
}}}

 * All the shell interaction responses are off (they look like they are in namespaces now), probably because they were changed recently, what I get is 

{{{
<Choice: Not much>
<Choice: the sky>
<Poll: What's up?>
}}}


"	defect	closed	Documentation		normal	duplicate			Unreviewed	0	0	0	0	0	0
