Author: russellm
Date: 2009-09-13 01:31:40 -0500 (Sun, 13 Sep 2009)
New Revision: 11560
Modified:
django/branches/releases/1.1.X/docs/intro/tutorial01.txt
Log:
[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.
Modified: django/branches/releases/1.1.X/docs/intro/tutorial01.txt
===================================================================
--- django/branches/releases/1.1.X/docs/intro/tutorial01.txt 2009-09-13
06:31:26 UTC (rev 11559)
+++ django/branches/releases/1.1.X/docs/intro/tutorial01.txt 2009-09-13
06:31:40 UTC (rev 11560)
@@ -643,8 +643,7 @@
>>> 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?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---