Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.4.X] Fixed #17168 - Noted TransactionMiddleware only works with "d…

…efault" database alias.

Thanks codeinthehole for the draft patch.

Backport of 5d81ad1 from master
  • Loading branch information...
commit a89e76d15149c0758e6459d695ce60722cad7101 1 parent d92c38a
Tim Graham authored June 30, 2012

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 7  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).
56 56
 
57 57
 .. _transaction-management-functions:
58 58
 
  59
+.. note::
  60
+
  61
+    The ``TransactionMiddleware`` only affects the database aliased
  62
+    as "default" within your :setting:`DATABASES` setting.  If you are using
  63
+    multiple databases and want transaction control over databases other than
  64
+    "default", you will need to write your own transaction middleware.
  65
+
59 66
 Controlling transaction management in views
60 67
 ===========================================
61 68
 

0 notes on commit a89e76d

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