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:47:37 -0400
commit2d1214d92ae67acaf2246c3dc2ea37cdf7e1c2a5 (patch)
treecaf0afe0808a40f131994576546f816d4cb41e37 /docs/ref
parentb5f224e8e23ca380a93304abe583f1de59c2404e (diff)
Fixed #14165 - Documented that TransactionMiddleware only applies to the default database.
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 a6ea9a6c41..0ce4177e00 100644
--- a/docs/ref/middleware.txt
+++ b/docs/ref/middleware.txt
@@ -203,9 +203,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.