  """
  40. Tests for select_related()
  
  ``select_related()`` follows all relationships and pre-caches any foreign key
  values so that complex trees can be fetched in a single query. However, this
  isn't always a good idea, so the ``depth`` argument control how many "levels"
  the select-related behavior will traverse.
 
</s> remove 39. Empty model tests
 </s> add 40. Empty model tests </s> remove 38. Testing using the Test Client
 </s> add 39. Testing using the Test Client </s> remove 37. User-registered management commands
 </s> add 38. User-registered management commands </s> remove 41. Serialization
 </s> add 42. Serialization </s> remove """} </s> add 
41. Tests for select_related()
  """
41. Tests for select_related()
  
  ``select_related()`` follows all relationships and pre-caches any foreign key
  values so that complex trees can be fetched in a single query. However, this
  isn't always a good idea, so the ``depth`` argument control how many "levels"
  the select-related behavior will traverse.
keep replace keep keep keep keep keep
 Fixed #6068 -- Updated docstrings in model tests to make the documentation
examples correct.  Thanks Wang Chun.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6813 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
tests/modeltests/select_related/models.py