mirror of
https://github.com/Hopiu/django.git
synced 2026-03-25 18:30:31 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| fields.py | ||
| models.py | ||
| tests.py | ||