mirror of https://github.com/django/django.git
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:
parent
a4d773b580
commit
9bc8941f67
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue