Skip to content
Browse files

[1.0.X] Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone()…

…. Thanks, rush.

Backport of r9150 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 89c2fba commit 9273575e6b656f26f877c921f6530fa8c41b4563 @malcolmt malcolmt committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 django/db/models/sql/
3 django/db/models/sql/
@@ -293,7 +293,8 @@ def __init__(self, *args, **kwargs):
def clone(self, klass=None, **kwargs):
extras = {'columns': self.columns[:], 'values': self.values[:],
'params': self.params}
- return super(InsertQuery, self).clone(klass, extras)
+ extras.update(kwargs)
+ return super(InsertQuery, self).clone(klass, **extras)
def as_sql(self):
# We don't need quote_name_unless_alias() here, since these are all

0 comments on commit 9273575

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