django1/django
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
..
apps Refs #24215 -- Fixed Python 3.5 compatiblity for unhandled lazy ops error. 2015-09-17 10:06:52 -04:00
bin Removed bin/unique-messages.py 2015-02-06 08:47:38 -05:00
conf Fixed #25356 -- Removed default_app_config from startapp template. 2015-09-07 15:23:11 -04:00
contrib Renamed descriptor classes for related objects. 2015-09-21 22:20:42 +02:00
core Corrected docstring in core.urlresolvers module. 2015-09-21 13:59:17 -04:00
db Fixed #24921 -- set_autocommit(False) + ORM queries. 2015-09-21 22:21:53 +02:00
dispatch Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
forms Fixed #25431 -- Readded inline foreign keys to modelformset instances 2015-09-21 21:30:49 +02:00
http Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN. 2015-09-16 12:21:50 -04:00
middleware Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN. 2015-09-16 12:21:50 -04:00
template Fixed #25404 -- Added line numbers to TemplateSyntaxError strings. 2015-09-15 12:25:13 -04:00
templatetags Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
test Fixed #25424 -- Use force_str for test client URLs. 2015-09-19 15:05:54 +02:00
utils Refs #13110 -- Fixed mistakes in the new multiple enclosure feed tests 2015-09-19 15:54:33 +02:00
views Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
__init__.py Bumped version; master is now 1.9 pre-alpha. 2015-01-16 17:04:35 -05:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00