diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-03-08 11:35:54 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-03-11 15:05:05 +0100 |
| commit | 4dbd1b2dd8d997f439b0116748994fd538ff893a (patch) | |
| tree | b0a2f66ed1e6e4aa93141cd52eb1dc599abb605b /docs/topics | |
| parent | 86fd920f6761cbf93a7e5a9eb3c634e0e168a038 (diff) | |
Used commit_on_success_unless_managed to make ORM operations atomic.
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/db/transactions.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/topics/db/transactions.txt b/docs/topics/db/transactions.txt index d5c22e17f5..b8fc0d4efa 100644 --- a/docs/topics/db/transactions.txt +++ b/docs/topics/db/transactions.txt @@ -16,11 +16,10 @@ Django's default behavior is to run in autocommit mode. Each query is immediately committed to the database. :ref:`See below for details <autocommit-details>`. -.. - Django uses transactions or savepoints automatically to guarantee the - integrity of ORM operations that require multiple queries, especially - :ref:`delete() <topics-db-queries-delete>` and :ref:`update() - <topics-db-queries-update>` queries. +Django uses transactions or savepoints automatically to guarantee the +integrity of ORM operations that require multiple queries, especially +:ref:`delete() <topics-db-queries-delete>` and :ref:`update() +<topics-db-queries-update>` queries. .. versionchanged:: 1.6 Previous version of Django featured :ref:`a more complicated default |
