summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-06-12 00:31:55 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-06-12 00:31:55 +0000
commit9bc8941f678ed5619c522e65de91be33bf7534a7 (patch)
tree78925e5fa971404d4773184cbac55a7825b765d2 /docs
parenta4d773b5801b91553ffe097840d770d2ea2b8b23 (diff)
Fixed #4532 -- Trivial typo fix. Noticed by philliptemple@yahoo.co.uk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/db-api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index 49e4ffa739..e7b8183f6c 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -598,7 +598,7 @@ related ``Person`` *and* the related ``City``::
p = b.author # Doesn't hit the database.
c = p.hometown # Doesn't hit the database.
- sv = Book.objects.get(id=4) # No select_related() in this example.
+ b = Book.objects.get(id=4) # No select_related() in this example.
p = b.author # Hits the database.
c = p.hometown # Hits the database.