Commit Graph

26749 Commits

Author SHA1 Message Date
Paul Wayper a48c0180f5 [2.2.x] Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().
Backport of 1025e76429 from master.
2019-03-18 11:11:55 -04:00
Carlton Gibson 2a42304111 [2.2.x] Bumped version for 2.2 release candidate 1. 2019-03-18 09:47:26 +01:00
Simon Charette 883d87074d [2.2.x] Fixed #30258 -- Adjusted postgres schema value quoting of ranges.
Thanks Tilman Koschnick for the report and patch.

Backport of 386d89ab55 from master
2019-03-18 09:32:09 +01:00
Paveł Tyślacki 2a92e2e3c1 [2.2.x] Refs #30172 -- Prevented removing a model Meta's index/unique_together from removing Meta constraints/indexes.
Backport of 5c17c273ae from master.
2019-03-17 21:28:49 -04:00
Paveł Tyślacki 3dd5e71752 [2.2.x] Refs #30172 -- Prevented removing a field's check or unique constraint from removing Meta constraints.
Backport of 4bb859e246 from master.
2019-03-17 21:28:36 -04:00
Paveł Tyślacki 40b0a58f5f [2.2.x] Fixed #30183 -- Added introspection of inline SQLite constraints.
Backport of 782d85b6df from master.
2019-03-15 20:01:36 -04:00
Paveł Tyślacki d8252025bc [2.2.x] Refs #30183 -- Moved SQLite table constraint parsing to a method.
Backport of 4492be348a from master.
2019-03-15 19:44:49 -04:00
Paveł Tyślacki aaf45d5422 [2.2.x] Unified nonexistent foreign key introspection value for SQLite.
Backport of b777c0675e from master.
2019-03-15 19:44:45 -04:00
Jon Dufresne 87fad5a392 [2.2.x] Cleaned up exception message checking in some tests.
Backport of 95b7699ffc from master.
2019-03-15 19:28:13 -04:00
Matt Westcott 985e6c224b [2.2.x] Fixed #30254 -- Allowed model metaclasses to access the attribute dict in __init__().
Regression in a68ea23101.

Backport of 58ad030d05 from master.
2019-03-14 21:23:19 -04:00
Herman S d8704a4d4f [2.2.x] Fixed #30237 -- Made Authentication/SessionMiddleware and ModelBackend admin checks allow subclasses.
Backport of f976ab1b11 from master.
2019-03-14 20:36:11 -04:00
Mariusz Felisiak b150d99460 [2.2.x] Simplified test_transform()s in db_functions.math.
Backport of 258110d6cd from master.
2019-03-14 19:42:21 -04:00
Mariusz Felisiak a9ce7e2bcd
[2.2.x] Fixed serializers tests for PyYAML 5.1+.
Backport of a57c783dd4 from master
2019-03-14 18:37:46 +01:00
alexanderblnf 14240e491e [2.2.x] Fixed #30161 -- Added how to decorate class-based views to view decorators docs.
Backport of 406de977ea from master.
2019-03-12 13:33:52 -04:00
David Beitey 282961f553 [2.2.x] Clarified deconstruct() in Custom Model Field docs.
Backport of 9fd90c4088 from master.
2019-03-12 10:44:21 -04:00
Samuel Gaist 3e565b50a9 [2.2.x] Doc'd the use of --noinput for test database handling.
Backport of 75840688f9 from master.
2019-03-05 21:10:21 -05:00
Mariusz Felisiak cf903c4c0b
[2.2.x] Reverted "Fixed relative paths imports per isort 4.3.5."
This reverts commit 463fe11bc8 due to
restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
Backport of b435f82939 from master
2019-03-03 19:35:37 +01:00
Tobias Bengfort 18211d0a4d [2.2.x] Clarified permission-related docs.
Backport of 632d4861dd from master
2019-02-28 15:28:56 +01:00
Matthias Kestenholz 459f7c804d [2.2.x] Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient.
Thanks gasman for the tests, and codingjoe and timgraham for the review.

Backport of 231b513926 from master.
2019-02-27 17:16:58 -05:00
Matthias Kestenholz 77e53da127 [2.2.x] Refs #30179 -- Moved topological sort functions to django.utils.
Backport of e04209e181 from master.
2019-02-27 17:16:48 -05:00
Tim Graham d29c8ea124 [2.2.x] Refs #29523 -- Updated admin's collapse.min.js.
Omitted in ba83378a77.

Backport of 93e892bb64 from master.
2019-02-27 16:28:21 -05:00
shiningfm 4dac17ac93 [2.2.x] Fixed #30215 -- Fixed autoreloader crash for modules without __spec__.
Regression in c8720e7696.
Backport of 99cfb28e99 from master.
2019-02-27 10:35:45 -05:00
Tom Forbes 7331dd8a98 [2.2.x] Refs #27685 -- Removed "watchman unavailable" message.
Backport of 65ef5f467b from master
2019-02-25 21:42:14 -05:00
Matthias Kestenholz d59c3fc167 [2.2.x] Fixed #30208 -- Fixed login header height and alignment in the largest breakpoint.
Backport of c41e6c4eb8 from master.
2019-02-25 15:00:27 -05:00
Tim Graham 8205116a79 [2.2.x] Refs #29683 -- Updated multi-db docs for view permission.
Backport of 50f09264ae from master
2019-02-25 14:57:12 -05:00
Mariusz Felisiak 62f28f37bf
[2.2.x] Fixed documentation of database representation for ManyToManyField.
Backport of b0799f5d86 from master
2019-02-25 20:08:11 +01:00
Mariusz Felisiak 370a145996
[2.2.x] Fixed relative paths imports per isort 4.3.5.
Backport of 463fe11bc8 from master
2019-02-25 19:50:12 +01:00
Tim Graham 9a5f87a69c [2.2.x] Fixed a failure when running tests on systems with SQLite < 3.8.3.
Backport of 36300ef336 from master.
2019-02-21 16:39:42 -05:00
Ran Benita a9bd914a22 [2.2.x] Removed an outdated comment on DefaultConnectionProxy.
Backport of 21ff23bfeb from master
2019-02-20 11:31:57 -05:00
Simon Charette 7f25344c2e [2.2.x] Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on initialization.
This addressed a regression introduced by a96b901932 as identified by Ran Benita.
Backport of 7071f8f272 from master
2019-02-20 11:01:03 +01:00
Mariusz Felisiak 9278acfd12
[2.2.x] Fixed #30187 -- Moved "install Django" command to a console box.
Backport of edec11ce86 from master
2019-02-16 07:58:55 +01:00
Jon Dufresne 37cc6a9dce [2.2.x] Fixed #30171 -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.

The error appeared after 8c775391b7.
Backport of 76990cbbda from master.
2019-02-14 10:05:13 -05:00
Tim Graham 07b44a251a [2.2.x] Removed docs of unused libgeoip1/python-gdal packages.
Backport of 21f9d43737 from master.
2019-02-14 09:46:45 -05:00
Tim Graham 6cdc7ae23f [2.2.x] Refs #25175 -- Renamed test file referencing the old postgresql_psycopg2 engine.
Backport of ddb2936852 from master
2019-02-13 17:27:27 -05:00
Dan Davis 5e94c817ee [2.2.x] Fixed #30184 -- Removed ellipsis characters from shell output strings.
Partially reverted 50b8493581 (refs #29654)
to avoid a crash when the user shell doesn't support non-ASCII characters.
Backport of 2bd8df243a from master.
2019-02-13 14:00:53 -05:00
Hasan Ramezani f2b460231d [2.2.x] Fixed #29943 -- Doc'd that admin changelist may add pk to ordering.
Backport of f63811f481 from master.
2019-02-12 21:36:07 -05:00
Tim Graham c3655b1528 [2.2.x] Refs #29478 -- Clarified cached_property 2.2 release note.
Backport of 3b64e2b775 from master.
2019-02-12 18:35:03 -05:00
Claude Paroz 28a6046b54 [2.2.x] Doc'd database functions for overlaps lookup.
Backport of 8cf9dbee6a from master
2019-02-12 15:43:11 -05:00
Jonatan Alexis Anauati d2f942737c [2.2.x] Fixed indentation in docs/topics/templates.txt.
Backport of 85ada61ac4 from master.
2019-02-11 16:52:41 -05:00
Tim Graham 74428138cc [2.2.x] Added CVE-2019-6975 to the security release archive.
Backport of d6e5aad5c7 from master.
2019-02-11 16:14:50 -05:00
Tim Graham f548ac7fa5 [2.2.x] Refs #30177 -- Forwardported 2.0.13 release notes.
Backport of 1b8f552b08 from master.
2019-02-11 15:52:15 -05:00
Carlton Gibson 1672ed5ccf [2.2.x] Refs #30175 -- Added release notes for 2.1.7, 2.0.12, and 1.11.20 releases.
Backport of b39bd0aa6d from master
2019-02-11 15:47:54 +01:00
Semen Zhydenko a536cf1f9f [2.2.x] Fixed spelling mistakes in comments and tests.
Backport of 255d6a26a8 from master.
2019-02-11 08:56:10 -05:00
Atul Varma 1092bf02e6 [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of b6bb912e9c from master.
2019-02-11 08:54:23 -05:00
Carlton Gibson 130d2d3072 [2.2.x] Bumped version for 2.2b1. 2019-02-11 11:21:19 +01:00
Carlton Gibson 83ab3e2664 [2.2.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().
Thanks Sjoerd Job Postmus for the report and initial patch.
Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.

Backport of 402c0caa85 from master
2019-02-11 11:10:38 +01:00
Tim Graham b89d31d2dc [2.2.x] Fixed #30169 -- Removed SAP SQL Anywhere from "3rd party database backends" as it's inactive.
Backport of 56b50cbf73 from master.
2019-02-09 18:38:43 -05:00
Matthias Kestenholz e1bd94496b [2.2.x] Fixed #30153 -- Fixed incorrect form Media asset ordering after three way merge.
Delaying merging assets as long as possible avoids introducing
incorrect relative orderings that cause a broken final result.
Backport of 959d0c078a from master.
2019-02-09 09:39:15 -05:00
Mariusz Felisiak d03e5961aa
[2.2.x] Removed extra characters in docs header underlines.
Backport of 25829197bb from master
2019-02-08 21:39:54 +01:00
Carlton Gibson 941109ccb3 [2.2.x] Added stub release notes for security releases.
Backport of 5cc6f02f91 from master
2019-02-07 15:47:52 +01:00