Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone(). Thanks, rush.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2f188334d3
commit
40904d0404
|
@ -293,7 +293,8 @@ class InsertQuery(Query):
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue