Commits

Mikhail Denisenko committed ee033eb

by default autocommit is disabled, to conform to django spec

  • Participants
  • Parent commits 76c7420

Comments (0)

Files changed (1)

File django_pytds/base.py

         try:
             options = self.settings_dict.get('OPTIONS', {})
             self.cast_avg_to_float = not bool(options.get('disable_avg_cast', False))
-            self.autocommit = bool(options.get('autocommit', True))
+            self.autocommit = bool(options.get('autocommit', False))
         except ValueError:
             self.cast_avg_to_float = False