mirror of
https://github.com/Hopiu/django.git
synced 2026-04-30 19:54:46 +00:00
Fixed #2913: CursorDebugWrapper no longer double-tuple-izes parameters. Thanks, artdent@freeshell.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
92151b2d28
commit
86143f7599
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class CursorDebugWrapper(object):
|
|||
if not isinstance(params, (tuple, dict)):
|
||||
params = tuple(params)
|
||||
self.db.queries.append({
|
||||
'sql': sql % tuple(params),
|
||||
'sql': sql % params,
|
||||
'time': "%.3f" % (stop - start),
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue