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
This commit is contained in:
Malcolm Tredinnick 2007-06-12 00:31:55 +00:00
parent a4d773b580
commit 9bc8941f67
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ related ``Person`` *and* the related ``City``::
p = b.author # Doesn't hit the database. p = b.author # Doesn't hit the database.
c = p.hometown # 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. p = b.author # Hits the database.
c = p.hometown # Hits the database. c = p.hometown # Hits the database.