Commit Graph

26665 Commits

Author SHA1 Message Date
Tim Graham 2fb602f581 [2.2.x] Used extlinks for Django's source code.
Backport of a68c029e22 from master.
2019-03-28 20:39:38 -04:00
Tim Graham ffdacc5879 [2.2.x] Fixed #30299 -- Removed jQuery dependency from getCookie() in CSRF docs.
Backport of 8e675e2bd8 from master
2019-03-28 19:57:01 -04:00
Nick Pope 6ac921bab0
[2.2.x] Refs #1660 -- Doc'd the LANGUAGES_BIDI setting.
Backport of 07daa487ae from master
2019-03-28 21:58:19 +01:00
sage 4a6d3f2580 [2.2.x] Fixed #30295 -- Fixed max_lengths.tests.MaxLengthORMTests when run in isolation.
Backport of 5a92bb0725 from master.
2019-03-28 12:05:57 -04:00
Mariusz Felisiak c910053a09
[2.2.x] Doc'd that HttpResponse accepts bytestrings.
Backport of e449c3a832 from master
2019-03-28 10:02:24 +01:00
Mariusz Felisiak 609b7f1123
[2.2.x] Fixed "byte string" typo in various docs and comments.
Backport of 881362986a from master
2019-03-28 10:01:36 +01:00
Nick Pope d7876fc999 [2.2.x] Updated spelling and RFCs in HttpOnly cookie flag docs.
Backport of 398afba084 from master.
2019-03-27 11:11:24 -04:00
Nick Pope c04bd386d4 [2.2.x] Removed obsolete RFC from cookie docs.
RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.

Backport of 2afd670de5 from master
2019-03-27 10:13:05 -04:00
Matthias Kestenholz a86ffb3e0f [2.2.x] Fixed #30280 -- Restored Model.get_FIELD_display()'s coercion of lazy strings.
Reverted cc79c7ee63.

Backport of ea071870f9 from master.
2019-03-22 13:01:15 -04:00
oliver 8cff329802 [2.2.x] Used QuerySet.bulk_create() in a couple of postgres tests.
Follow up to 0ce2ad9ca4.
Backport of 2aaabe2004 from master.
2019-03-21 18:05:42 -04:00
Philipp Bosch bca600339e [2.2.x] Used monospace font in date template filter format character docs.
Helps distinguish between lowercase L and uppercase I.
Backport of 0b8abd7cdf from master.
2019-03-21 10:20:35 -04:00
Tim Graham 1ef2216ff2 [2.2.x] Fixed #30277 -- Fixed broken links to packaging.python.org.
Backport of 8f1cc7e9e6 from master.
2019-03-21 10:08:23 -04:00
Nick Pope cb36ca4a0f [2.2.x] Corrected settings names in SecurityMiddleware tests.
Backport of 413d50b5ff from master.
2019-03-20 20:15:59 -04:00
Tim Graham abd6fb1656 [2.2.x] Fixed serializers test crash if PyYAML isn't installed.
Follow up to a57c783dd4.

Backport of 55490ac746 from master
2019-03-20 16:07:36 +01:00
Mariusz Felisiak 505785a71d
[2.2.x] Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit systems.
Thanks Andreas Beckmann and Chris Lamb for the report.
Backport of c9888bc8ec from master
2019-03-20 13:46:31 +01:00
Carlton Gibson 19ab698937 [2.2.x] Fixed #30263 -- Doc'd changes to form Media sorting (refs #30179).
Thanks to Tim Graham for review.
Backport of 418263c457 from master
2019-03-18 16:27:36 +01:00
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