Skip to content
Browse files

Fixed #17168 - Noted TransactionMiddleware only works with "default" …

…database alias.

Thanks codeinthehole for the draft patch.
  • Loading branch information...
1 parent db87016 commit 5d81ad1af14ee3127b53f923687ed5c4e00329ee @timgraham timgraham committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/topics/db/transactions.txt
7 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

0 comments on commit 5d81ad1

Please sign in to comment.
Something went wrong with that request. Please try again.