1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

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

View File

@ -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'