Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #19442 - Clarified that raw SQL must be committed.

Thanks startup.canada for the suggestion.
  • Loading branch information...
commit 31f49f1396c4cc565017066e9f17c6b850a89687 1 parent 7df0326
@timgraham timgraham authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/topics/db/transactions.txt
3  docs/topics/db/transactions.txt
@@ -199,7 +199,8 @@ Requirements for transaction handling
Django requires that every transaction that is opened is closed before
the completion of a request. If you are using :func:`autocommit` (the
default commit mode) or :func:`commit_on_success`, this will be done
-for you automatically. However, if you are manually managing
+for you automatically (with the exception of :ref:`executing custom SQL
+<executing-custom-sql>`). However, if you are manually managing
transactions (using the :func:`commit_manually` decorator), you must
ensure that the transaction is either committed or rolled back before
a request is completed.

0 comments on commit 31f49f1

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