mirror of https://github.com/django/django.git
Removed unused InsertQuery.clone().
Unknown if it was ever needed.
This commit is contained in:
parent
3b2db6ec12
commit
f2dc6b3a99
|
@ -182,15 +182,6 @@ class InsertQuery(Query):
|
||||||
self.fields = []
|
self.fields = []
|
||||||
self.objs = []
|
self.objs = []
|
||||||
|
|
||||||
def clone(self, klass=None, **kwargs):
|
|
||||||
extras = {
|
|
||||||
'fields': self.fields[:],
|
|
||||||
'objs': self.objs[:],
|
|
||||||
'raw': self.raw,
|
|
||||||
}
|
|
||||||
extras.update(kwargs)
|
|
||||||
return super(InsertQuery, self).clone(klass, **extras)
|
|
||||||
|
|
||||||
def insert_values(self, fields, objs, raw=False):
|
def insert_values(self, fields, objs, raw=False):
|
||||||
"""
|
"""
|
||||||
Set up the insert query from the 'insert_values' dictionary. The
|
Set up the insert query from the 'insert_values' dictionary. The
|
||||||
|
|
Loading…
Reference in New Issue