diff options
author | Mads Jensen <mje@inducks.org> | 2017-09-05 12:20:05 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-09-05 16:22:36 -0400 |
commit | 15f2d87ceb6c981d88c988f002e4f0f6743b0dd9 (patch) | |
tree | 6a8285115dc136d8576cb93a417debaf1fd98bde /django/db/backends/postgresql/base.py | |
parent | 1b86088f6f92d9c937b24f063141d0b8bfb39969 (diff) | |
download | django-15f2d87ceb6c981d88c988f002e4f0f6743b0dd9.tar.gz |
Removed unneeded __init__() in PostgreSQL DatabaseWrapper.
Diffstat (limited to 'django/db/backends/postgresql/base.py')
-rw-r--r-- | django/db/backends/postgresql/base.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py index ad1fd0fd0b..0e4263dd0b 100644 --- a/django/db/backends/postgresql/base.py +++ b/django/db/backends/postgresql/base.py @@ -139,10 +139,8 @@ class DatabaseWrapper(BaseDatabaseWrapper): features_class = DatabaseFeatures introspection_class = DatabaseIntrospection ops_class = DatabaseOperations - - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self._named_cursor_idx = 0 + # PostgreSQL backend-specific attributes. + _named_cursor_idx = 0 def get_connection_params(self): settings_dict = self.settings_dict |