25302 Commits

Author SHA1 Message Date
CHI Cheng
a3dfd38baa [2.0.x] Fixed broken links to PyYAML page.
Backport of b7dbd5ff68bb9d2235ca081c0bd0b8baa65f8c77 from master.
2018-12-27 10:52:15 +01:00
Tim Graham
1b752d3493 [2.0.x] Removed unused imports in tests/test_runner/tests.py. 2018-12-20 22:15:55 -05:00
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
Tom Forbes
a23d867628 [2.0.x] Removed obsolete and flaky GeoIP tests.
Backport of 8f90593e6f8197148c8f86e598bfef6792f3f4bf from master.
2018-11-10 16:29:52 -05:00
Mariusz Felisiak
9be172f585 [2.0.x] Fixed F841 flake8 warning.
Backport of 641742528a8babbede92890bc0bef50a255c1bbb from master.
2018-10-24 09:38:53 -04:00
Mariusz Felisiak
ae416b1788 [2.0.x] Ignored flake8 W504 warnings.
W504 is mutually exclusive with W503 that we follow.

Backport of 58d1e9aa8ab505912389e7cd019a6f21785ad4bf from master.
2018-10-24 09:38:46 -04: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
81999b5c5f [2.0.x] Post-release version bump. 2018-10-01 11:39:26 +02:00
Carlton Gibson
c8baf4bb9d [2.0.x] Bumped version for 2.0.9 release. 2.0.9 2018-10-01 09:58:29 +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
Tim Graham
05b0ae53ea [2.0.x] Post-release version bump. 2018-08-01 11:05:43 -04:00
Tim Graham
b83b44f40c [2.0.x] Bumped version for 2.0.8 release. 2.0.8 2018-08-01 09:48:00 -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
François Freitag
c26f001967 [2.0.x] Fixed django/http/request.py docstring typo.
Backport of 93e721a0b8155470336357c148c4d8364c36bbee from master
2018-07-16 14:44:49 +02:00
Tom
50e4f9adac [2.0.x] Refs #29451 -- Fixed test_isvalid_lookup on MySQL 8+.
Backport of f98e1c01eafa724cb87772ae03b3fd1158e9fd50 from master
2018-07-06 09:06:08 -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
0496df8a26 [2.0.x] Post-release version bump. 2018-07-02 11:12:18 +02:00
Carlton Gibson
e042eead94 [2.0.x] Bumped version for 2.0.7 release. 2.0.7 2018-07-02 10:52:57 +02: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
Tim Graham
4b3b9fab08 [2.0.x] Reverted "Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header."
This reverts commit 8e082a6e0b63a1cfdb0bc7b2835c6447123aa239 as it
doesn't qualify for a backport.
2018-06-25 09:43:39 -04:00
Tim Graham
8e082a6e0b [2.0.x] Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.
Backport of 7cdeb23ae7ef2d125276840ff298dbb9683959f2 from master
2018-06-22 09:33:05 +02: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
Carlton Gibson
243f07bbb3 [2.0.x] Refs #29451 -- Fixed invalid SQL on MySQL in queries tests.
Backport of c4f099de1d0d82c5e1f88768300896eae69bddbd from master
2018-06-20 11:00:19 -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