Removed a stray debugging print that slipped in.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5326cd293e
commit
2c1d6a80b3
|
@ -39,7 +39,6 @@ Regression test for #7246
|
|||
>>> Person.objects.order_by('name').select_related()
|
||||
[<Person: Jane>, <Person: John>]
|
||||
|
||||
>>> Person.objects.order_by('name').select_related('favorite_restaurant').query.as_sql()
|
||||
>>> jane = Person.objects.order_by('name').select_related('favorite_restaurant')[0]
|
||||
>>> jane.favorite_restaurant.name
|
||||
u'Craft'
|
||||
|
|
Loading…
Reference in New Issue