Ticket #5883: 5883.diff
File 5883.diff, 953 bytes (added by , 17 years ago) |
---|
-
django/db/backends/postgresql/base.py
56 56 else: 57 57 return getattr(self.cursor, attr) 58 58 59 def __iter__(self): 60 return iter(self.cursor) 61 59 62 class DatabaseFeatures(BaseDatabaseFeatures): 60 63 pass # This backend uses all the defaults. 61 64 -
django/db/backends/util.py
41 41 else: 42 42 return getattr(self.cursor, attr) 43 43 44 def __iter__(self): 45 return iter(self.cursor) 46 44 47 ############################################### 45 48 # Converters from database (string) to Python # 46 49 ###############################################