django/tests/backends
Simon Charette 315357ad25 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.
2018-12-15 18:51:59 -05:00
..
base Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
mysql Refs #30013 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.3.14+. 2018-12-05 14:46:31 -05:00
oracle Fixed #29788 -- Added support for Oracle Managed File (OMF) tablespaces. 2018-11-13 18:22:41 -05:00
postgresql Refs #29015 -- Added database name to PostgreSQL database name too long exception. 2018-08-17 12:43:56 -04:00
sqlite Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled. 2018-12-15 18:51:59 -05:00
__init__.py
models.py Fixed #28849 -- Fixed referenced table and column rename on SQLite. 2017-12-01 22:12:24 -05:00
test_ddl_references.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-06-26 10:30:31 -04:00
test_utils.py Fixed #28792 -- Fixed index name truncation of namespaced tables. 2017-11-14 21:36:25 -05:00
tests.py Fixed #29949 -- Refactored db introspection identifier converters. 2018-11-21 09:06:50 +01:00