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
1 changed files with 2 additions and 4 deletions

View File

@ -139,10 +139,8 @@ class DatabaseWrapper(BaseDatabaseWrapper):
features_class = DatabaseFeatures features_class = DatabaseFeatures
introspection_class = DatabaseIntrospection introspection_class = DatabaseIntrospection
ops_class = DatabaseOperations ops_class = DatabaseOperations
# PostgreSQL backend-specific attributes.
def __init__(self, *args, **kwargs): _named_cursor_idx = 0
super().__init__(*args, **kwargs)
self._named_cursor_idx = 0
def get_connection_params(self): def get_connection_params(self):
settings_dict = self.settings_dict settings_dict = self.settings_dict