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.