Removed db.backends methods which only call super().

This commit is contained in:
Tim Graham 2014-12-30 11:25:48 -05:00
parent d7fc6eb8ca
commit 8082c75d18
3 changed files with 0 additions and 8 deletions

View File

@ -184,9 +184,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
atomic_transactions = False
supports_column_check_constraints = False
def __init__(self, connection):
super(DatabaseFeatures, self).__init__(connection)
@cached_property
def _mysql_storage_engine(self):
"Internal method used in Django tests. Don't rely on this from your code"

View File

@ -56,9 +56,6 @@ class DatabaseCreation(BaseDatabaseCreation):
'PositiveSmallIntegerField': '%(qn_column)s >= 0',
}
def __init__(self, connection):
super(DatabaseCreation, self).__init__(connection)
def _create_test_db(self, verbosity=1, autoclobber=False, keepdb=False):
parameters = self._get_test_db_params()
cursor = self.connection.cursor()

View File

@ -5,8 +5,6 @@ from django.db.backends import BaseDatabaseOperations
class DatabaseOperations(BaseDatabaseOperations):
def __init__(self, connection):
super(DatabaseOperations, self).__init__(connection)
def date_extract_sql(self, lookup_type, field_name):
# http://www.postgresql.org/docs/current/static/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT