django1/django/db
Simon Charette 813805833a Fixed #27631 -- Prevented execution of transactional DDL statements when unsupported.
Executing a DDL statement during a transaction on backends that don't support
it silently commits, leaving atomic() in an incoherent state.

While schema_editor.execute() could technically be used to execute DML
statements such usage should be uncommon as these are usually performed through
the ORM. In other cases schema_editor.connection.execute() can be used to
circumvent this check.

Thanks Adam and Tim for the review.
2016-12-28 19:43:32 -05:00
..
backends Fixed #27631 -- Prevented execution of transactional DDL statements when unsupported. 2016-12-28 19:43:32 -05:00
migrations Fixed #27310 -- Stopped rendering apps in RenameModel.state_forwards. 2016-12-10 10:19:06 -05:00
models Fixed #27651 -- Allowed M2M to concrete and proxy through model. 2016-12-28 12:48:17 -05:00
__init__.py Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
transaction.py Fixed #24921 -- set_autocommit(False) + ORM queries. 2015-09-21 22:21:53 +02:00
utils.py Fixed #25761 -- Added __cause__.__traceback__ to reraised exceptions. 2015-12-03 16:31:50 -05:00