Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #12759 -- Fixed the iterator method on psycopg1 cursors, which …

…was preventing the raw_query tests from passing.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 04aa8a007e467fe5fce45873999dbccd29b52b6e 1 parent 962defe
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/postgresql/
2  django/db/backends/postgresql/
@@ -76,7 +76,7 @@ def __getattr__(self, attr):
return getattr(self.cursor, attr)
def __iter__(self):
- return iter(self.cursor)
+ return iter(self.cursor.fetchall())
class DatabaseFeatures(BaseDatabaseFeatures):
uses_savepoints = True
Please sign in to comment.
Something went wrong with that request. Please try again.