mirror of
https://github.com/django/django.git
synced 2025-03-13 19:00:45 +00:00
It doesn't work as one might expect on a certain database backend where autocommits_when_autocommit_is_off = True. That backend happens to be popular for running tests. Backport of 38bc581bc02d83ecab6d19514ac51b57f0e11866 from master.