Fixed #12297 -- Fixed typo in docs/topics/db/queries.txt. Thanks, bertil and timo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2010-01-10 21:28:37 +00:00
parent fa4627c3cc
commit e1e4050347
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ in the split second between the two requests.
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.