django/docs/topics/db
Aymeric Augustin 91e9f1c972 Fixed #24921 -- set_autocommit(False) + ORM queries.
This commits lifts the restriction that the outermost atomic block must
be declared with savepoint=False. This restriction was overly cautious.

The logic that makes it safe not to create savepoints for inner blocks
also applies to the outermost block when autocommit is disabled and a
transaction is already active.

This makes it possible to use the ORM after set_autocommit(False).
Previously it didn't work because ORM write operations are protected
with atomic(savepoint=False).
2015-09-21 22:21:53 +02:00
..
examples Fixed #25160 -- Moved unsaved model instance data loss check to Model.save() 2015-08-10 08:51:32 -04:00
aggregation.txt Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt. 2015-09-05 10:19:38 -04:00
index.txt
managers.txt Fixed #25205 -- Removed doc references to deprecated GeoManager class. 2015-08-11 10:14:44 -04:00
models.txt Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
multi-db.txt Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql. 2015-08-07 09:33:17 -04:00
optimization.txt Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
queries.txt Tweak some examples. 2015-08-22 20:25:42 +02:00
sql.txt Fixed #25326 -- Added namedtuple example for executing custom SQL. 2015-09-03 13:11:46 -04:00
tablespaces.txt Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
transactions.txt Fixed #24921 -- set_autocommit(False) + ORM queries. 2015-09-21 22:21:53 +02:00