django/tests/indexes
Simon Charette ecece1b22e [2.0.x] Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled.
Prior to this change foreign key constraint references could be left pointing
at tables dropped during operations simulating unsupported table alterations
because of an unexpected failure to disable foreign key constraint checks.

SQLite3 does not allow disabling such checks while in a transaction so they
must be disabled beforehand.

Thanks ezaquarii for the report and Carlton and Tim for the review.

Backport of 315357ad25 from master.
2018-12-17 10:06:48 -05:00
..
__init__.py
models.py Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
tests.py [2.0.x] Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled. 2018-12-17 10:06:48 -05:00