Permalink
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/util.py
View
2 django/db/backends/util.py
@@ -17,7 +17,7 @@ def execute(self, sql, params=()):
if not isinstance(params, (tuple, dict)):
params = tuple(params)
self.db.queries.append({
- 'sql': sql % tuple(params),
+ 'sql': sql % params,
'time': "%.3f" % (stop - start),
})

0 comments on commit 86143f7

Please sign in to comment.