0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Removed unneeded __init__() in PostgreSQL DatabaseWrapper.

This commit is contained in:
Mads Jensen 2017-09-05 12:20:05 +02:00 committed by Tim Graham
parent 1b86088f6f
commit 15f2d87ceb

View File

@ -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