diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2010-01-10 21:28:37 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2010-01-10 21:28:37 +0000 |
| commit | e1e4050347b5fa69290845629af94b608deb50e1 (patch) | |
| tree | 5a35f5c4e3715d58d079a641b509d9c7abca5a63 /docs | |
| parent | fa4627c3cc705f2adb72bc88aa403f58e970f676 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/queries.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index 101c6ac67f..be16a2ba0f 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -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. |
