1
0
mirror of https://github.com/django/django.git synced 2025-04-14 12:24:36 +00:00

26723 Commits

Author SHA1 Message Date
Claude Paroz
7090cbf542 [2.2.x] Updated contrib translations from Transifex 2019-04-01 11:46:01 +02:00
Claude Paroz
98f526e67c [2.2.x] Updated core translations from Transifex 2019-04-01 11:46:01 +02:00
Tim Graham
917aa556a9 [2.2.x] Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit through model from being editable if the user only has the view permission.
Backport of 8335d59200e4c64dfe3348ea93989d95e0107439 from master.
2019-03-30 17:44:58 -04:00
Tim Graham
de62ba965f [2.2.x] Added stub 2.1.8 release notes.
Backport of e245046bb6e8b32360aa48b8a41fb7050f0fc730 from master
2019-03-30 13:04:40 -04:00
Tim Graham
fc708f32f5 [2.2.x] Refs #30278 -- Fixed link in cached_property docs.
Backport of b9455b010e41d1c6e68faa11115212d50de3c231 from master.
2019-03-30 09:35:21 -04:00
Matthew Schinckel
f14170406c [2.2.x] Refs #30278 -- Doc'd behavior of del on an unaccessed cached_property.
Thanks to Curtis Maloney for the description of the problem.
Backport of c3c2ec54f59428cdf0a35abce594fd2ada35c209 from master
2019-03-30 09:29:23 -04:00
Abhishek Bera
4a7bbace6b [2.2.x] Fixed #30265 -- Fixed a tutorial number in Reusable App tutorial.
Backport of ca67f39afa54e281705563834d3684e8b27844b6 from master.
2019-03-29 21:53:14 -04:00
Nick Pope
5237da3416 [2.2.x] Removed unnecessary /static from links to PostgreSQL docs.
Backport of 198a2a9381a415f76c3170753270f5087ce4475a from master.
2019-03-29 21:50:28 -04:00
Tim Graham
2fb602f581 [2.2.x] Used extlinks for Django's source code.
Backport of a68c029e224cebe540da7447dbbd27993b4aa793 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 8e675e2bd8366adf5d0b579accfef75a7b1bc3bf 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 07daa487aeb7d41d69d7d1cf9d4b3648e299e4ac 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 5a92bb0725e07068b260364ef66466f126000b0b from master.
2019-03-28 12:05:57 -04:00
Mariusz Felisiak
c910053a09
[2.2.x] Doc'd that HttpResponse accepts bytestrings.
Backport of e449c3a832ff2a4e3fa83cec6909d0476ed14110 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 881362986a1ee8f650752de8471a895890b71f96 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 398afba084679f1055926f6f91bd33fe124a92c5 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 2afd670de5b2f28f56f722a95344fb7eefad3d37 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 cc79c7ee637e65c8da27e56d746c87903d5ec901.

Backport of ea071870f943c23a8eaf36dfcdf382afd6478fd1 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 0ce2ad9ca4623cfd6dc2515430c0ae8a1717a607.
Backport of 2aaabe2004e1953eb7d7057edcf2fabd37f7394d 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 0b8abd7cdf1a5bae96dd0640af10ad504f104d06 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 8f1cc7e9e61758475ddd6586e0fede4af1ca0e8d from master.
2019-03-21 10:08:23 -04:00
Nick Pope
cb36ca4a0f [2.2.x] Corrected settings names in SecurityMiddleware tests.
Backport of 413d50b5ff0c0a4198d4bf069e6434bc7ba4cd86 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 a57c783dd4e6dc73847081221827a1902eede88b.

Backport of 55490ac7469a3647ce163bee323f7fe4a06fcaa6 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 c9888bc8ecb8943ef08090e3325dcbdac825eafc 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 418263c457636d3301f2068c47f09a0f42e15c52 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 1025e764291167f2f34a4d55bd3d043836e74250 from master.
2019-03-18 11:11:55 -04:00
Carlton Gibson
2a42304111 [2.2.x] Bumped version for 2.2 release candidate 1. 2.2rc1 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 386d89ab55e620440d30590a8a104fe6d5eef830 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 5c17c273ae2d7274f1fa78218b3b74690efddb86 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 4bb859e24694f6cb8974ed9d2225f18214338ea3 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 782d85b6dfa191e67c0f1d572641d8236c79174c 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 4492be348ad6fb24957068e63448142399629d18 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 b777c0675ef7aadc299844025cf1f9b53562524f 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 95b7699ffc4bdb32a504fccfd127f1b76a8a1d1c 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 a68ea231012434b522ce45c513d84add516afa60.

Backport of 58ad030d05fa50cfed327368ab61defca3303e02 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 f976ab1b117574db78d884c94e549a6b8e4c9f9b 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 258110d6cdea5050f8df0bbc9af3fcd9bd342d29 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 a57c783dd4e6dc73847081221827a1902eede88b 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 406de977ea1a6429535d21240e3ecdac06d4516c 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 9fd90c4088833855b1ae973e4a66cab09a26f3e6 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 75840688f94c022cd2a62143149a30e6d2db8496 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 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to
restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
Backport of b435f82939edf70674856e0e1cd63973c2e0a1d1 from master
2019-03-03 19:35:37 +01:00
Tobias Bengfort
18211d0a4d [2.2.x] Clarified permission-related docs.
Backport of 632d4861ddb99a2c9d11642fcfa4ad542b427d6b 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 231b513926f2bfd71f08058ce5013bd81678ac01 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 e04209e181c99ac16ca769d115ac640015a83757 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 ba83378a7762c51be235b521aa5b48233d6c6c82.

Backport of 93e892bb645b16ebaf287beb5fe7f3ffe8d10408 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 c8720e7696ca41f3262d5369365cc1bd72a216ca.
Backport of 99cfb28e995388db109e2f2ed15307f09945dda8 from master.
2019-02-27 10:35:45 -05:00
Tom Forbes
7331dd8a98 [2.2.x] Refs #27685 -- Removed "watchman unavailable" message.
Backport of 65ef5f467ba84c26392a157de1622d805401ec7d 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 c41e6c4eb8049a1f0efcfd7c7fc3b3ca11207b5a 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 50f09264ae8ab04824fcc6554e8c184378ad2f81 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 b0799f5d86b6c0ccb1dcba6e0d2eee336f7f5928 from master
2019-02-25 20:08:11 +01:00