Commit d57f98b8 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

[1.1.X] Fixed #11628 -- Corrected the tutorial, removing instructions to...

[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
parent 98154849
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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?>