diff options
| author | Tim Graham <timograham@gmail.com> | 2016-10-13 16:58:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-13 16:58:43 -0400 |
| commit | f2dc6b3a9947092fd22b4e91523d750cf2f084de (patch) | |
| tree | a2bcd5c3b2a394dc1aca3488847f1bd7f2515f86 | |
| parent | 3b2db6ec12ce7d4b32f60dd7713e5f23cac498b7 (diff) | |
Removed unused InsertQuery.clone().
Unknown if it was ever needed.
| -rw-r--r-- | django/db/models/sql/subqueries.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/django/db/models/sql/subqueries.py b/django/db/models/sql/subqueries.py index fc9683064f..ef1599fd91 100644 --- a/django/db/models/sql/subqueries.py +++ b/django/db/models/sql/subqueries.py @@ -182,15 +182,6 @@ class InsertQuery(Query): self.fields = [] 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): """ Set up the insert query from the 'insert_values' dictionary. The |
