Browse files

Removed a stray debugging print that slipped in.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 5326cd2 commit 2c1d6a80b34c3f38f474f1c56631a11957153bd2 @malcolmt malcolmt committed Jun 29, 2008
Showing with 0 additions and 1 deletion.
  1. +0 −1 tests/regressiontests/model_inheritance_select_related/models.py
View
1 tests/regressiontests/model_inheritance_select_related/models.py
@@ -39,7 +39,6 @@ def __unicode__(self):
>>> 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'

0 comments on commit 2c1d6a8

Please sign in to comment.