Ticket #3954: show-sql.diff
File show-sql.diff, 480 bytes (added by , 18 years ago) |
---|
-
django/db/backends/util.py
9 9 def execute(self, sql, params=()): 10 10 start = time() 11 11 try: 12 if 'setval' in sql: 13 print sql 14 print repr(sql) 12 15 return self.cursor.execute(sql, params) 13 16 finally: 14 17 stop = time()