Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 9bc8941f678ed5619c522e65de91be33bf7534a7 1 parent a4d773b
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/db-api.txt
View
2  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.
Please sign in to comment.
Something went wrong with that request. Please try again.