Fixed raw_sql tracking

This commit is contained in:
Syrus Akbary 2016-02-12 18:59:02 -08:00
parent 1021487742
commit e05b9ea79d

View File

@ -117,7 +117,7 @@ class NormalCursorWrapper(object):
'sql': self.db.ops.last_executed_query(
self.cursor, sql, self._quote_params(params)),
'duration': duration,
'raw_sql': sql % params,
'raw_sql': sql,
'params': _params,
'start_time': start_time,
'stop_time': stop_time,