We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c045b62 commit 7d78460Copy full SHA for 7d78460
django_mongodb_backend/base.py
@@ -224,10 +224,7 @@ def _start_transaction_under_autocommit(self):
224
self._start_session()
225
226
def _set_autocommit(self, autocommit, force_begin_transaction_with_broken_autocommit=False):
227
- if self.features.supports_transactions:
228
- return
229
- if not autocommit:
230
- self._start_session()
+ pass
231
232
def _close(self):
233
# Normally called by close(), this method is also called by some tests.
0 commit comments