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
This commit is contained in:
parent
2102967807
commit
fcc42c1bf7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue