Ticket #3954: show-sql.diff

File show-sql.diff, 480 bytes (added by anonymous, 18 years ago)
  • django/db/backends/util.py

     
    99    def execute(self, sql, params=()):
    1010        start = time()
    1111        try:
     12            if 'setval' in sql:
     13                print sql
     14                print repr(sql)
    1215            return self.cursor.execute(sql, params)
    1316        finally:
    1417            stop = time()
Back to Top