Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored November 07, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/backends/util.py
2  django/db/backends/util.py
@@ -17,7 +17,7 @@ def execute(self, sql, params=()):
17 17
             if not isinstance(params, (tuple, dict)):
18 18
                 params = tuple(params)
19 19
             self.db.queries.append({
20  
-                'sql': sql % tuple(params),
  20
+                'sql': sql % params,
21 21
                 'time': "%.3f" % (stop - start),
22 22
             })
23 23
 

0 notes on commit 86143f7

Please sign in to comment.
Something went wrong with that request. Please try again.