10453 Commits

Author SHA1 Message Date
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 315357ad25a6590e7f4564ec2e56a22132b09001 from master.
2018-12-17 10:06:48 -05:00
Simon Charette
53b17d4734 [2.0.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 c8ffdbe514b55ff5c9a2b8cb8bbdf2d3978c188f from master.
2018-12-07 14:22:42 -05:00
Tim Graham
13501d162f
[2.0.x] Refs #30013 -- Doc'd that mysqlclient 1.3.14 and later isn't supported. 2018-12-05 15:48:24 -05:00
Carlton Gibson
288279ccfd [2.0.x] Added release date for 1.11.17.
Backport of 950112548e61098f442d37a8ded4ef9f83ff8fda from master
2018-12-03 15:25:37 +01:00
Tim Graham
4a62b44af3 [2.0.x] Removed usage of deprecated sphinx APIs.
Backport of cc4bb110d31f18d2931fd79d792d3ac09cce19e5 from master
2018-11-17 18:17:10 -05:00
Tim Graham
aa1527db57 [2.0.x] Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x.
Backport of 2fd21a18584dc62cfad65cc112465ce68db5561a from master.
2018-11-17 16:06:11 -05:00
Claude Paroz
3cc125b582 [2.0.x] Fixed #29959 -- Cached GEOS version in WKBWriter class.
Regression in f185d929fa1c0caad8c03fccde899b647d7248c6.
Backport of e7e55059027ae2f644c852e0ba60dc9307b425e1 from master.
2018-11-16 15:13:40 -05:00
Tim Graham
6d9b1e5706 [2.0.x] Removed release date for 2.0.10 and 1.11.17.
Backport of 97cec6f75d9d9b86892829f784e5e9dabfd1242a from master.
2018-11-16 09:34:46 -05:00
Carlton Gibson
66ac7a129a [2.0.x] Added CVE-2018-16984 to the security release archive.
Backport of 0b3b7c4b0ab2567cfe5df3ac19563d4a59276cb1
and 92ccc3917058b1025b2d657ffdf3c21eb8009f7b from master
2018-10-01 15:07:11 +02:00
Carlton Gibson
09acabc648 [2.0.x] Added stub release notes for 2.0.10 release.
Backport of 2e86710dac8e1965e39461d0f43eec29d33a75c2 from master
2018-10-01 12:02:44 +02:00
Carlton Gibson
31d6dfc43f [2.0.x] Added stub release notes for 1.11.17 release.
Backport of 7040e638b960c122cd71eccac2b1bf2fe8d0f5da from master
2018-10-01 12:02:32 +02:00
Carlton Gibson
851bdcc637 [2.0.x] Added release date for 2.0.9 release.
Backport of a4932be483368d17d907d8d5492c4701a6631d87 from master
2018-10-01 09:56:35 +02:00
Carlton Gibson
47f0df2b68 [2.0.x] Added release date for 1.11.16.
Backport of d37ed40048b749c75f7f54ef8b96d8e738f10719 from master
2018-10-01 09:35:44 +02:00
Mariusz Felisiak
7085247e2f
[2.0.x] Refs #29759 -- Doc'd that cx_Oracle < 7 is required. 2018-09-18 10:30:45 +02:00
Tim Graham
fd3ad043a1 [2.0.x] Added words to docs/spelling_wordlist for Ubuntu 18.04.
Backport of 8edb27b6c6d5d9e4f3ad95a91254588616854d16 from master
2018-09-17 18:57:39 +02:00
Tim Graham
fc05e7f753 [2.0.x] Fixed typo in docs/releases/2.0.5.txt.
Backport of cdc6da395aa602d772bd376513121fb2b674bda1 from master
2018-08-21 09:48:45 -04:00
Tim Graham
b113c6adea [2.0.x] Fixed #28540 -- Doc'd a change to file upload permissions in Django 1.11.
Behavior changed in f734e2d4b2fc4391a4d097b80357724815c1d414
(refs #27334).

Backport of 89d4d412404d31ef34ae3170c0c056eff55b2a17 from master
2018-08-04 11:06:20 -04:00
Michael Sanders
4441826026 [2.0.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.

Backport of 271542dad1686c438f658aa6220982495db09797 from master
2018-08-02 17:25:15 -04:00
Tim Graham
e7dffda167 [2.0.x] Added CVE-2018-14574 to the security release archive.
Backport of 0006538e53bf11d1de26801b13b78807354de2c8 from master
2018-08-01 11:07:28 -04:00
Andreas Hug
6fffc3c6d4 [2.0.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-07-31 10:37:29 -04:00
Tim Graham
af34469111 [2.0.x] Added stub release notes for security releases. 2018-07-31 10:37:25 -04:00
Dražen Odobašić
253f1b74da [2.0.x] Fixed #29617 -- Fixed Template crash if template_string is lazy.
Regression in 3a148f958dddd97c1379081118c30fbede6b6bc4.
Backport of 9f3b9ffd51c71d96728df9ee16f5a57c6f3b315d from master.
2018-07-31 10:11:18 -04:00
Sergey Fedoseev
9dd66ba5d5 [2.0.x] Corrected cached_property() signature in docs.
Backport of 82b9708c6f77d1a4b7b4236234065799370be245 from master
2018-07-06 08:56:37 -04:00
Michal Čihař
1645471348 [2.0.x] Fixed #29544 -- Fixed regex lookup on MariaDB.
Regression in 42490768441701bc02255b22df8e6894cbe487c7.
Backport of 39e287d8bff50e9f91f3f4471088c1946aa6a76c from master
2018-07-05 12:12:11 -04:00
Mads Jensen
2ce830e683 [2.0.x] Refs #26608 -- Removed incorrect sentence in Expression.contains_over_clause docs.
Backport of ab251fdad251cfb1e9fb61c42b5bfed9d0afe393 from master
2018-07-05 11:38:35 -04:00
Tim Graham
76e0efeb59 [2.0.x] Added stub release notes for 2.0.8.
Backport of 2c3f19894695d6868a2c3ec5a6f097e432cc170e from master
2018-07-03 20:06:22 -04:00
Carlton Gibson
1cfc950477 [2.0.x] Added release date for 1.11.14.
Backport of 65df375c40dfe591b258f36709123abc6957fbd7 from master
2018-07-02 10:14:31 +02:00
José L. Patiño
a881499a77 [2.0.x] Fixed #29535 -- Updated email.MIME* references for Python 3.
Backport of b5dd6ef3d52544ec7533509915c61545d5c3d85a from master
2018-06-29 08:24:51 -04:00
Asif Saifuddin Auvi
a684819193 [2.0.x] Refs #28814 -- Documented Python 3.7 compatibility.
Backport of 2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553 from master
2018-06-28 11:06:38 -04:00
Tim Graham
cba51003de [2.0.x] Refs #28814 -- Fixed migrations crash with namespace packages on Python 3.7.
Due to https://bugs.python.org/issue32303.

Backport of 0f0a07ac278dc2be6da81e519188f77e2a2a00cf from master
2018-06-28 10:05:46 -04:00
Tim Graham
da906ff1ae [2.0.x] Fixed location of a few doc labels.
Backport of 1229687a0a261d05a72e6f189c1a9b0069b302e5 from master
2018-06-28 08:58:36 -04:00
Adam Johnson
cba1922742 [2.0.x] Updated a test example to use snake case.
Backport of ae38777698dd0bf2a9efefef778d5e92d36c8d12 from master
2018-06-21 17:37:34 -04:00
Tom
f8a6488839 [2.0.x] Refs #29451 -- Fixed regex/iregex lookups on MySQL 8.
Backport of 42490768441701bc02255b22df8e6894cbe487c7 from master
2018-06-20 11:01:16 -04:00
Tim Graham
83986af95d [2.0.x] Refs #29428 -- Fixed admin check crash when using a query expression in ModelAdmin.ordering.
Backport of ec2c9c353113bb1db6e32ed3f0b6c28bc06ca2eb from master
2018-06-15 10:12:44 -04:00
Tim Graham
4bccfac36f [2.0.x] Fixed #29428 -- Fixed admin changelist crash when using a query expression without asc()/desc() in the ordering.
Backport of 0d8e3e608ee9aab5076d497664aa97e0a29e523e from master
2018-06-15 10:12:40 -04:00
Mariusz Felisiak
1033a8e7bc [2.0.x] Fixed typo in docs/releases/2.0.7.txt.
Backport of e0d0fc0b14ccade00b30a7fbdb1c720ddd83bb71 from master
2018-06-08 12:09:14 +02:00
Carlton Gibson
7f163aac3a [2.0.x] Added stub release notes for 2.0.6.
Backport of acae1206800a7997e5f95f7df8043452301fa241 from master
2018-06-08 08:44:29 +02:00
Michael Kiros
e072060203 [2.0.x] Fixed typo in docs/topics/auth/customizing.txt.
Backport of b37bac39b387bc87872d37d4b07783b67ef28d0c from master
2018-06-05 21:28:57 -04:00
Adam Donaghy
22c7c2db1d [2.0.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36.

Backport of b18650a2634890aa758abae2f33875daa13a9ba3 from master
2018-06-01 11:00:34 -04:00
Carlton Gibson
b935f112e1 [2.0.x] Added release date for 2.0.6 release.
Backport of e1ebd22558342bb0088a3da3571863a20413fa2a from master
2018-06-01 12:16:49 +02:00
Dr. Shubham Dipt
e9d09f1f0e [2.0.x] Corrected typo in outputting-csv.txt.
Backport of 44441d673bb39815dae1b14019357226c6a7c8ee from master
2018-06-01 12:09:24 +02:00
Tim Graham
ceeccc51d2 [2.0.x] Fixed #29460 -- Added support for GEOS 3.6.
Backport of f185d929fa1c0caad8c03fccde899b647d7248c6 from master
2018-05-31 11:36:43 -04:00
Tim Graham
904adcc034 [2.0.x] Added stub release notes for 1.11.14.
Backport of 8a6fcfdc77d84bd5cebf1e6a6dd65c64f9cb40b8 from master
2018-05-31 10:17:16 -04:00
Mariusz Felisiak
74bbef4ee0 [2.0.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation.
Regression in 1d070d027c218285b66c0bde8079034b33a87f11.

Backport of 4ab1f559e8d1264bcb20bb497988973194f5d8f2 from master
2018-05-27 18:59:35 -04:00
Osaetin Daniel
66b834e73f [2.0.x] Fixed docs typo in HttpResponse.set_signed_cookie() signature.
Backport of cd242d185bda9269913d4d101a7f704204ec907d from master
2018-05-27 16:51:30 -04:00
Daniel Hepper
a5c5e51aa9 [2.0.x] Removed docs for obsolete ExceptionMiddleware.
Backport of a6fb5b1fe022c5279aa275c70b5193f2a2fac5fe from master
2018-05-27 13:29:44 -04:00
Xaroth Brook
1adac352d3 [2.0.x] Fixed #29415 -- Fixed detection of custom URL converters in included patterns.
Backport of 39283c8edbc5991b589d48a8e17152042193f2df from master
2018-05-26 20:52:48 -04:00
Ian Foote
0b1744b66c Fix typo in 2.0 release notes (#9986)
Backport of 257fb0a7d08ddf92306789ce0a39d703ca58a2b8 from master.
2018-05-26 16:17:50 +02:00
Ryan Rubin
c2a1af883e [2.0.x] Fixed #29400 -- Fixed crash in custom template filters that use decorated functions.
Regression in 620e9dd31a2146d70de740f96a8cb9a6db054fc7.

Backport of a8d12bc28069d56e0306770ab9c73738293663f7 from master
2018-05-25 11:22:06 -04:00
Mariusz Felisiak
80a53202d4
[2.0.x] Alphabetized imports in various docs.
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
Backport of 35319bf12ccefe1911588493484160aa49208f89 from master
2018-05-12 19:41:40 +02:00