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.