Loading django/db/backends/util.py +3 −5 Original line number Diff line number Diff line Loading @@ -24,10 +24,8 @@ class CursorWrapper(object): self.db.set_dirty() def __getattr__(self, attr): if attr in ('execute', 'executemany', 'callproc'): self.set_dirty() if attr in self.__dict__: return self.__dict__[attr] else: return getattr(self.cursor, attr) def __iter__(self): Loading Loading
django/db/backends/util.py +3 −5 Original line number Diff line number Diff line Loading @@ -24,10 +24,8 @@ class CursorWrapper(object): self.db.set_dirty() def __getattr__(self, attr): if attr in ('execute', 'executemany', 'callproc'): self.set_dirty() if attr in self.__dict__: return self.__dict__[attr] else: return getattr(self.cursor, attr) def __iter__(self): Loading