From fcc42c1bf7277279bd576cd335f45b998251610f Mon Sep 17 00:00:00 2001 From: Matt Boersma Date: Fri, 15 Aug 2008 01:33:18 +0000 Subject: [PATCH] Fixed Oracle backend test case failure in modeltests\lookup. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8355 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/query.py b/django/db/models/query.py index 9d46b4046d..d82cdf4d96 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -689,7 +689,7 @@ class ValuesListQuerySet(ValuesQuerySet): yield row[0] elif not self.query.extra_select: for row in self.query.results_iter(): - yield row + yield tuple(row) else: # When extra(select=...) is involved, the extra cols come are # always at the start of the row, so we need to reorder the fields