Commits

Waldemar Kornewald  committed 72d6ee2

added connection arguments to NonrelDatabaseFeatures and NonrelDatabaseOperations constructors

  • Participants
  • Parent commits 49dd5ae

Comments (0)

Files changed (1)

 from .creation import NonrelDatabaseCreation
 
 class NonrelDatabaseFeatures(BaseDatabaseFeatures):
+    def __init__(self, connection):
+        self.connection = connection
+        super(NonrelDatabaseFeatures, self).__init__()
+
     distinguishes_insert_from_update = False
     supports_deleting_related_objects = False
 
 class NonrelDatabaseOperations(BaseDatabaseOperations):
+    def __init__(self, connection):
+        self.connection = connection
+        super(NonrelDatabaseOperations, self).__init__()
+
     def quote_name(self, name):
         return name