1. Mikhail Denisenko
  2. django-pytds

Commits

Mikhail Denisenko  committed 4c4e76d

using connection.cursor() instead of Cursor()

  • Participants
  • Parent commits 530f70f
  • Branches default

Comments (0)

Files changed (1)

File django_pytds/base.py

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