From 12ffae6df4da6e8114649c493751c133c36bc313 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Mon, 25 Jul 2005 22:15:07 +0000 Subject: [PATCH] Fixed #197 -- thanks for finding that, mmarshall git-svn-id: http://code.djangoproject.com/svn/django/trunk@309 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/db/backends/sqlite3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/db/backends/sqlite3.py b/django/core/db/backends/sqlite3.py index 9599b79b7d..0137661914 100644 --- a/django/core/db/backends/sqlite3.py +++ b/django/core/db/backends/sqlite3.py @@ -56,7 +56,7 @@ class FormatStylePlaceholderCursor(Database.Cursor): return Database.Cursor.execute(self, query, params) def executemany(self, query, params=[]): - query = self.convert_query(query, len(params)) + query = self.convert_query(query, len(params[0])) return Database.Cursor.executemany(self, query, params) def convert_query(self, query, num_params):