Commits

Mikhail Denisenko committed 4c4e76d

using connection.cursor() instead of Cursor()

  • Participants
  • Parent commits 530f70f

Comments (0)

Files changed (1)

File django_pytds/base.py

     def _cursor(self):
         if self.connection is None:
             self.__connect()
-        return Database.Cursor(self.connection)
+        return self.connection.cursor()
 
     def disable_constraint_checking(self):
         """