From 5d81ad1af14ee3127b53f923687ed5c4e00329ee Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 30 Jun 2012 10:25:51 -0400 Subject: [PATCH] Fixed #17168 - Noted TransactionMiddleware only works with "default" database alias. Thanks codeinthehole for the draft patch. --- docs/topics/db/transactions.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/topics/db/transactions.txt b/docs/topics/db/transactions.txt index 76b65b99e0..1f15949000 100644 --- a/docs/topics/db/transactions.txt +++ b/docs/topics/db/transactions.txt @@ -56,6 +56,13 @@ database cursor (which is mapped to its own database connection internally). .. _transaction-management-functions: +.. note:: + + The ``TransactionMiddleware`` only affects the database aliased + as "default" within your :setting:`DATABASES` setting. If you are using + multiple databases and want transaction control over databases other than + "default", you will need to write your own transaction middleware. + Controlling transaction management in views ===========================================