Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Malcolm Tredinnick authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/db-api.txt
2  docs/db-api.txt
@@ -598,7 +598,7 @@ related ``Person`` *and* the related ``City``::
598 598
     p = b.author         # Doesn't hit the database.
599 599
     c = p.hometown       # Doesn't hit the database.
600 600
 
601  
-    sv = Book.objects.get(id=4) # No select_related() in this example.
  601
+    b = Book.objects.get(id=4) # No select_related() in this example.
602 602
     p = b.author         # Hits the database.
603 603
     c = p.hometown       # Hits the database.
604 604
 

0 notes on commit 9bc8941

Please sign in to comment.
Something went wrong with that request. Please try again.