summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Boersma <matt@sprout.org>2008-08-15 01:33:18 +0000
committerMatt Boersma <matt@sprout.org>2008-08-15 01:33:18 +0000
commitfcc42c1bf7277279bd576cd335f45b998251610f (patch)
tree1de21c8f5b6cffd744a46b8129d615b031d0d491
parent21029678078b8f69ff438ea9ed5a9a9359b05b2e (diff)
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
-rw-r--r--django/db/models/query.py2
1 files changed, 1 insertions, 1 deletions
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