Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.4.X] Fixed #14165 - Documented that TransactionMiddleware only app…

…lies to the default database.

Backport of 938ee7cd36 from master
  • Loading branch information...
commit cf17d5e2676f7ddf71ce0a78bfa0060da718924c 1 parent 3ac70a5
@timgraham timgraham authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/ref/middleware.txt
View
6 docs/ref/middleware.txt
@@ -206,9 +206,9 @@ Transaction middleware
.. class:: TransactionMiddleware
-Binds commit and rollback to the request/response phase. If a view function
-runs successfully, a commit is done. If it fails with an exception, a rollback
-is done.
+Binds commit and rollback of the default database to the request/response
+phase. If a view function runs successfully, a commit is done. If it fails with
+an exception, a rollback is done.
The order of this middleware in the stack is important: middleware modules
running outside of it run with commit-on-save - the default Django behavior.
Please sign in to comment.
Something went wrong with that request. Please try again.