mirror of
				https://github.com/django/django.git
				synced 2025-11-04 13:39:16 +00:00 
			
		
		
		
	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
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue