summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-10-11 06:47:29 -0400
committerTim Graham <timograham@gmail.com>2012-10-11 17:49:40 -0400
commitcf17d5e2676f7ddf71ce0a78bfa0060da718924c (patch)
treef5cb84aeb2ad91d2f44112bff38d7a079371f2de /docs/ref
parent3ac70a5907e054c734ca26e435f1ec1215797b08 (diff)
[1.4.X] Fixed #14165 - Documented that TransactionMiddleware only applies to the default database.
Backport of 938ee7cd36 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/middleware.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt
index b92fe2c0a1..60a376bd66 100644
--- a/docs/ref/middleware.txt
+++ b/docs/ref/middleware.txt
@@ -206,9 +206,9 @@ Transaction middleware
.. class:: TransactionMiddleware
-Binds commit and rollback to the request/response phase. If a view function
-runs successfully, a commit is done. If it fails with an exception, a rollback
-is done.
+Binds commit and rollback of the default database to the request/response
+phase. If a view function runs successfully, a commit is done. If it fails with
+an exception, a rollback is done.
The order of this middleware in the stack is important: middleware modules
running outside of it run with commit-on-save - the default Django behavior.