mirror of
https://github.com/django/django.git
synced 2024-12-24 18:16:19 +00:00
Fixed #12759 -- Fixed the iterator method on psycopg1 cursors, which was preventing the raw_query tests from passing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
962defed0a
commit
04aa8a007e
@ -76,7 +76,7 @@ class UnicodeCursorWrapper(object):
|
||||
return getattr(self.cursor, attr)
|
||||
|
||||
def __iter__(self):
|
||||
return iter(self.cursor)
|
||||
return iter(self.cursor.fetchall())
|
||||
|
||||
class DatabaseFeatures(BaseDatabaseFeatures):
|
||||
uses_savepoints = True
|
||||
|
Loading…
Reference in New Issue
Block a user