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:
Malcolm Tredinnick 2008-06-29 09:40:48 +00:00
parent 5326cd293e
commit 2c1d6a80b3
1 changed files with 0 additions and 1 deletions

View File

@ -39,7 +39,6 @@ Regression test for #7246
>>> Person.objects.order_by('name').select_related() >>> Person.objects.order_by('name').select_related()
[<Person: Jane>, <Person: John>] [<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 = Person.objects.order_by('name').select_related('favorite_restaurant')[0]
>>> jane.favorite_restaurant.name >>> jane.favorite_restaurant.name
u'Craft' u'Craft'