Kaydet (Commit) 5d81ad1a authored tarafından Tim Graham's avatar Tim Graham

Fixed #17168 - Noted TransactionMiddleware only works with "default" database alias.

Thanks codeinthehole for the draft patch.
üst db87016b
......@@ -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
===========================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment