mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Deprecated transaction.commit/rollback_unless_managed.
Since "unless managed" now means "if database-level autocommit", committing or rolling back doesn't have any effect. Restored transactional integrity in a few places that relied on automatically-started transactions with a transitory API.
This commit is contained in:
parent
14aa563f51
commit
ba5138b1c0
17 changed files with 116 additions and 208 deletions
|
@ -352,6 +352,8 @@ these changes.
|
|||
- ``django.db.close_connection()``
|
||||
- ``django.db.backends.creation.BaseDatabaseCreation.set_autocommit()``
|
||||
- ``django.db.transaction.managed()``
|
||||
- ``django.db.transaction.commit_unless_managed()``
|
||||
- ``django.db.transaction.rollback_unless_managed()``
|
||||
|
||||
2.0
|
||||
---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue