Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix sqlmigrate's output for parameters

  • Loading branch information...
commit f3582a059470553cddda9a5c11f438764f9b81c6 1 parent 072e25e
@andrewgodwin andrewgodwin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/schema.py
View
2  django/db/backends/schema.py
@@ -90,7 +90,7 @@ def execute(self, sql, params=[]):
# Log the command we're running, then run it
logger.debug("%s; (params %r)" % (sql, params))
if self.collect_sql:
- self.collected_sql.append((sql % list(map(self.connection.ops.quote_parameter, params))) + ";")
+ self.collected_sql.append((sql % tuple(map(self.connection.ops.quote_parameter, params))) + ";")
else:
cursor.execute(sql, params)

0 comments on commit f3582a0

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