Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #12297 -- Fixed typo in docs/topics/db/queries.txt. Thanks, ber…

…til and timo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e1e4050347b5fa69290845629af94b608deb50e1 1 parent fa4627c
Adrian Holovaty authored January 10, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/db/queries.txt
2  docs/topics/db/queries.txt
@@ -618,7 +618,7 @@ in the split second between the two requests.
618 618
 
619 619
 To avoid this problem, simply save the ``QuerySet`` and reuse it::
620 620
 
621  
-    >>> queryset = Poll.objects.all()
  621
+    >>> queryset = Entry.objects.all()
622 622
     >>> print [p.headline for p in queryset] # Evaluate the query set.
623 623
     >>> print [p.pub_date for p in queryset] # Re-use the cache from the evaluation.
624 624
 

0 notes on commit e1e4050

Please sign in to comment.
Something went wrong with that request. Please try again.