diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2017-09-07 17:10:49 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-09-07 08:10:49 -0400 |
| commit | 8b2515a450ef376b9205029090af0a79c8341bd7 (patch) | |
| tree | 491da78cdf4b8aa3d1704fa90ebd6aa7d4a6b25e /django/db/models/sql | |
| parent | 44a6c27fd461e1d2f37388c26c629f8f170e8722 (diff) | |
Removed unneeded __init__() methods.
Diffstat (limited to 'django/db/models/sql')
| -rw-r--r-- | django/db/models/sql/compiler.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index 743803338b..37f5cce37a 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -1056,10 +1056,7 @@ class SQLCompiler: class SQLInsertCompiler(SQLCompiler): - - def __init__(self, *args, **kwargs): - self.return_id = False - super().__init__(*args, **kwargs) + return_id = False def field_as_sql(self, field, val): """ |
