django1/django/core/cache
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
..
backends Made atomic usable when autocommit is off. 2013-03-13 15:17:40 +01:00
__init__.py Fixed #17061 -- Factored out importing object from a dotted path 2013-02-04 16:38:25 +01:00
utils.py Fixed #19253 -- Extracted template cache key building logic 2013-02-24 14:32:45 +01:00