summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/backends/postgresql/base.py')
-rw-r--r--django/db/backends/postgresql/base.py6
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