Fixed #18223 - Corrected default transaction behavior in postgresql docs.
Thanks philipn for the report and mateusgondim for the patch.
This commit is contained in:
parent
d739d531a1
commit
2079b730f1
|
@ -56,10 +56,10 @@ will do some additional queries to set these parameters.
|
||||||
Transaction handling
|
Transaction handling
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
:doc:`By default </topics/db/transactions>`, Django starts a transaction when a
|
:doc:`By default </topics/db/transactions>`, Django runs with an open
|
||||||
database connection is first used and commits the result at the end of the
|
transaction which it commits automatically when any built-in, data-altering
|
||||||
request/response handling. The PostgreSQL backends normally operate the same
|
model function is called. The PostgreSQL backends normally operate the same as
|
||||||
as any other Django backend in this respect.
|
any other Django backend in this respect.
|
||||||
|
|
||||||
.. _postgresql-autocommit-mode:
|
.. _postgresql-autocommit-mode:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue