Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 2c1d6a80b34c3f38f474f1c56631a11957153bd2 1 parent 5326cd2
@malcolmt malcolmt authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.