Author: adrian
Date: 2010-01-10 15:28:37 -0600 (Sun, 10 Jan 2010)
New Revision: 12197

Modified:
   django/trunk/docs/topics/db/queries.txt
Log:
Fixed #12297 -- Fixed typo in docs/topics/db/queries.txt. Thanks, bertil and 
timo

Modified: django/trunk/docs/topics/db/queries.txt
===================================================================
--- django/trunk/docs/topics/db/queries.txt     2010-01-10 21:05:42 UTC (rev 
12196)
+++ django/trunk/docs/topics/db/queries.txt     2010-01-10 21:28:37 UTC (rev 
12197)
@@ -618,7 +618,7 @@
 
 To avoid this problem, simply save the ``QuerySet`` and reuse it::
 
-    >>> queryset = Poll.objects.all()
+    >>> queryset = Entry.objects.all()
     >>> print [p.headline for p in queryset] # Evaluate the query set.
     >>> print [p.pub_date for p in queryset] # Re-use the cache from the 
evaluation.
 

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to