django1/docs/topics/db
Aymeric Augustin 83a416f5e7 Made atomic usable when autocommit is off.
Thanks Anssi for haggling until I implemented this.

This change alleviates the need for atomic_if_autocommit. When
autocommit is disabled for a database, atomic will simply create and
release savepoints, and not commit anything. This honors the contract of
not doing any transaction management.

This change also makes the hack to allow using atomic within the legacy
transaction management redundant.

None of the above will work with SQLite, because of a flaw in the design
of the sqlite3 library. This is a known limitation that cannot be lifted
without unacceptable side effects eg. triggering arbitrary commits.
2013-03-13 15:17:40 +01:00
..
examples Removed unnecessary imports. 2013-03-03 16:07:38 +01:00
aggregation.txt Mention backward relationships in aggregate docs. 2013-02-12 09:36:29 -03:00
index.txt Fixed #17605: Restored deleted query documentation that used to live in doctests. Thanks zsiciarz for work on the patch. 2012-03-14 22:16:46 +00:00
managers.txt Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
models.txt Removed django.contrib.localflavor. 2012-12-29 21:59:06 +01:00
multi-db.txt Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
optimization.txt Fixed #15361 - Documented performance considerations for QuerySet.get() 2012-11-02 17:58:24 -04:00
queries.txt Fixed #19926 -- Fixed a link to code example in queries docs 2013-02-27 21:30:54 +01:00
sql.txt Enabled database-level autocommit for all backends. 2013-03-11 14:48:54 +01:00
tablespaces.txt Removed versionadded/changed annotations dating back to 1.4. 2012-12-29 21:59:08 +01:00
transactions.txt Made atomic usable when autocommit is off. 2013-03-13 15:17:40 +01:00