Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…database alias.

Thanks codeinthehole for the draft patch.
  • Loading branch information...
commit 5d81ad1af14ee3127b53f923687ed5c4e00329ee 1 parent db87016
@timgraham timgraham authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/topics/db/transactions.txt
View
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
===========================================
Please sign in to comment.
Something went wrong with that request. Please try again.