Commits

Michael Manfre committed 661925c

DatabaseOperations should accept passing the DatabaseWrapper

  • Participants
  • Parent commits 5f02122

Comments (0)

Files changed (1)

File sqlserver_ado/base.py

         except TypeError:
             # django >= 1.3
             self.features = DatabaseFeatures(self)
-        self.ops = DatabaseOperations()
+
+        try:
+            self.ops = DatabaseOperations()
+        except TypeError:
+            self.ops = DatabaseOperations(self)
         
         self.client = BaseDatabaseClient(self)
         self.creation = DatabaseCreation(self)