summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-09-13 06:31:40 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-09-13 06:31:40 +0000
commitd57f98b8e82c09a0f8c9099ef9ff8963fa5ba7b6 (patch)
tree00e78b58c7dfc52a04e2de15d07f0347e46c542f /docs
parent9815484905060107d53c4613ded35b4faedc2c80 (diff)
[1.1.X] Fixed #11628 -- Corrected the tutorial, removing instructions to update the year where that isn't required. Thanks to tommstein for the report.
Merge of r11538 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial01.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index ae4af665f1..69c8d0f3db 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -643,8 +643,7 @@ Save these changes and start a new Python interactive shell by running
>>> Poll.objects.filter(question__startswith='What')
[<Poll: What's up?>]
- # Get the poll whose year is 2007. Of course, if you're going through this
- # tutorial in another year, change as appropriate.
+ # Get the poll whose year is 2007.
>>> Poll.objects.get(pub_date__year=2007)
<Poll: What's up?>