From 4dbd1b2dd8d997f439b0116748994fd538ff893a Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 8 Mar 2013 11:35:54 +0100 Subject: Used commit_on_success_unless_managed to make ORM operations atomic. --- docs/topics/db/transactions.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs') 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 `. -.. - Django uses transactions or savepoints automatically to guarantee the - integrity of ORM operations that require multiple queries, especially - :ref:`delete() ` and :ref:`update() - ` queries. +Django uses transactions or savepoints automatically to guarantee the +integrity of ORM operations that require multiple queries, especially +:ref:`delete() ` and :ref:`update() +` queries. .. versionchanged:: 1.6 Previous version of Django featured :ref:`a more complicated default -- cgit v1.3