Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #2913: CursorDebugWrapper no longer double-tuple-izes parameter…

…s. Thanks, artdent@freeshell.org

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 86143f7599e964cf3dc8ad3a88294d443a8138ff 1 parent 92151b2
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/util.py
2  django/db/backends/util.py
View
@@ -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),
})
Please sign in to comment.
Something went wrong with that request. Please try again.