diff options
| author | Tim Graham <timograham@gmail.com> | 2012-06-30 10:25:51 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-06-30 10:30:45 -0400 |
| commit | a89e76d15149c0758e6459d695ce60722cad7101 (patch) | |
| tree | cba6ac539d25218bbafaeb9dae8dabd5a4c16c72 /docs | |
| parent | d92c38a28177f4cad91c1921ca2b621d3af01912 (diff) | |
[1.4.X] Fixed #17168 - Noted TransactionMiddleware only works with "default" database alias.
Thanks codeinthehole for the draft patch.
Backport of 5d81ad1af1 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/transactions.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/db/transactions.txt b/docs/topics/db/transactions.txt index 0f0b52aa1e..7be45add33 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 =========================================== |
