django1/django/core/management
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
..
commands Fixed #27631 -- Prevented execution of transactional DDL statements when unsupported. 2016-12-28 19:43:32 -05:00
__init__.py Removed unneeded no_settings_commands hardcoded list 2016-09-30 17:25:28 +02:00
base.py Fixed #27305 -- Removed BaseCommand.can_import_settings unused attribute 2016-10-02 20:31:56 +02:00
color.py Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
sql.py Fixed #24100 -- Made the migration signals dispatch its plan and apps. 2016-05-15 19:51:15 -04:00
templates.py Optimized file copy in TemplateCommand 2016-10-20 16:59:01 +02:00
utils.py Fixed #20468 -- Added loaddata --exclude option. 2016-06-09 10:35:32 -04:00