Skip to content
Browse files

Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone(). Thanks…

…, rush.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 2f18833 commit 40904d0404a6d6a34b6f35e7c33be702326e042a @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 40904d0

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