django1/django
Simon Charette fc8c2284e9 [2.1.x] Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+.
SQLite 3.26 repoints foreign key constraints on table renames even when
foreign_keys pragma is off which breaks every operation that requires
a table rebuild to simulate unsupported ALTER TABLE statements.

The newly introduced legacy_alter_table pragma disables this behavior
and restores the previous schema editor assumptions.

Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and
troubleshooting assistance.

Backport of c8ffdbe514 from master.
2018-12-07 14:22:27 -05:00
..
apps Fixed #17379 -- Removed management commands deactivation of the locale. 2018-05-13 10:21:53 +02:00
bin Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs." 2017-03-07 10:10:32 -05:00
conf [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
contrib [2.1.x] Fixed #29930 -- Allowed editing in admin with view-only inlines. 2018-12-03 17:34:36 +01:00
core [2.1.x] Fixed #29849 -- Fixed keep-alive support in runserver. 2018-11-20 17:44:03 -05:00
db [2.1.x] Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+. 2018-12-07 14:22:27 -05:00
dispatch [2.1.x] Capitalized "Python" in docs and comments. 2018-10-09 20:50:31 -04:00
forms [2.1.x] Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message. 2018-08-08 06:38:27 -04:00
http [2.1.x] Refs #29784 -- Normalized Python docs links to omit the version. 2018-09-25 10:22:06 +02:00
middleware [2.1.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-08-01 09:35:09 -04:00
template [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
templatetags Replaced TOKEN_* constants by TokenType enums. 2018-05-10 17:51:51 +02:00
test [2.1.x] Fixed typo in patch_logger() docstring. 2018-11-25 14:43:44 -05:00
urls [2.1.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-08-01 09:35:09 -04:00
utils [2.1.x] Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists. 2018-10-17 11:40:02 -04:00
views [2.1.x] Refs #29784 -- Switched to https:// links where available. 2018-10-09 20:52:43 -04:00
__init__.py [2.1.x] Post-release version bump. 2018-12-03 18:11:58 +01:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Added missing word to render_to_response deprecation warning. 2018-05-16 10:06:36 +02:00