1
0
mirror of https://github.com/django/django.git synced 2025-04-09 15:59:41 +00:00

27462 Commits

Author SHA1 Message Date
Mac Chapman
56061decff [3.0.x] Fixed #11097 -- Added note about parent link fields in formsets for multi-table inheritance models.
Backport of 0b7378db1fdd7bfc7b78089811b3abb722c4ba95 from master
2019-10-09 12:54:45 +02:00
Carlton Gibson
71489a522a [3.0.x] Fixed #30858 -- Clarified that AdminEmailHandler processes all 5xx responses.
Backport of 94eae4e5633fbf21f5dcae6e0472ce6a51dd3411 from master
2019-10-09 10:16:03 +02:00
Caio Ariede
7d8d2b56be [3.0.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
Backport of dafdfd6a60638c4edcca7c4e65d11c0af654d759 from master
2019-10-08 12:32:25 +02:00
Hasan Ramezani
7c70aa8f63 [3.0.x] Fixed #30839 -- Fixed Field.__deepcopy__() so forms don't share error messages.
Backport of a28d1b38e55cf588cfaae97de6a575d5c9f90a96 from master
2019-10-08 10:28:30 +02:00
Caio Ariede
282138a7bb [3.0.x] Fixed #28273 -- Doc'd fast nullable column creation with defaults.
Backport of 06909fe084f87a65459a83bd69d7cdbe4fce9a7c from master
2019-10-07 14:37:16 +02:00
Tamer Sherif
3ea957b543 [3.0.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
Backport of e3f647f4d5fc414f8cb7ab58df5e61a19908c63f from master
2019-10-07 11:10:38 +02:00
Katie McLaughlin
4917b53e50 [3.0.x] Made minor edits and small fixes to docs/faq/install.txt.
Backport of f52022ad96356d4b1061610f2b74ea4d1956a608 from master
2019-10-04 11:38:50 +02:00
Katie McLaughlin
717d845737 [3.0.x] Fixed #30834 -- Added explicit list of supported databases to the databases docs.
Backport of 9dca904a5bf37ee9ad015212b17a9929ab8952cd from master
2019-10-03 19:48:45 +02:00
Hasan Ramezani
30271a47da [3.0.x] Refs #27914 -- Fixed serialization of nested enum.Enum classes in migrations.
Backport of 6452112640081ac8838147a8ba192c45879203d8 from master
2019-10-03 11:17:10 +02:00
Hasan Ramezani
1a4db2cc28 [3.0.x] Refs #27914 -- Moved test enum.Enum subclasses outside of WriterTests.test_serialize_enums().
Backport of d3030deaaa50b7814e34ef1e71f2afaf97c6bec6 from master
2019-10-03 11:17:04 +02:00
Mar Sánchez
9fa6c737df [3.0.x] Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.
Backport of f1d4a540b29c6766b988852bc302ac036a2d82e2 from master
2019-10-02 14:59:04 +02:00
Katherine Michel
b6da3192c0 [3.0.x] Refs #30010 -- Doc'd running tests with django-docker-box.
Backport of f7eb9fb676d7afba16fc577283610b359718e644 from master
2019-10-02 14:00:48 +02:00
Carlton Gibson
b0b98fcacf [3.0.x] Refs #28699 -- Clarified CSRF middleware ordering in relation to RemoteUserMiddleware.
Backport of 94469504706b494877b6bb45a979bcb81c7fd7be from master
2019-10-02 13:11:33 +02:00
Sjbrgsn
516200c09e [3.0.x] Fixed #30817 -- Clarified return value of Sitemap.items().
Backport of 7b3c06cd72e691ffd932ccce338701c37297a415 from master
2019-10-02 12:16:48 +02:00
Mariusz Felisiak
2624653bef [3.0.x] Added stub release notes for 1.11.26 and 2.1.14.
Backport of 84322a29ce9b0940335f8ab3d60e55192bef1e50 from master
2019-10-02 07:55:19 +02:00
Mariusz Felisiak
40efffafd9 [3.0.x] Fixed typo in BulkInsertMapper constant name.
Backport of 67e7dffe9543aff259f63c8f12d15642fe7be100 from master
2019-10-01 14:59:27 +02:00
Ahmet Kucuk
9dc13f41b5 [3.0.x] Fixed #30510 -- Fixed crash of QuerySet.bulk_create() with mixed-length texts on Oracle.
Text with more than 4000 characters must be set to as a CLOB on Oracle
what caused a mixed datatype error (ORA-01790) when shorter text
appeared in the same operation.

Backport of dc890bef5ad8e9fccce55f3e64af72103ea6e8c1 from master
2019-10-01 13:11:19 +02:00
Carlton Gibson
a135e1e16e [3.0.x] Added stub release notes for 2.2.7.
Backport of e1c1eaf0c6f4d3d2f60513d20aa9b84b17d096ec from master
2019-10-01 10:44:49 +02:00
Carlton Gibson
848abaab62 [3.0.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
Backport of 3826aed46d7d4310c2ab6777a4f92165ca4d8d4f from master
2019-10-01 08:50:43 +02:00
Ad Timmering
556d0c08bd [3.0.x] Fixed #28690 -- Fixed handling of two-digit years in parse_http_date().
Due to RFC7231 ayear that appears to be more than 50 years in the
future are interpreted as representing the past.

Backport of 7b5f8acb9e6395a1660dd7bfeb365866ca8ef47c from master
2019-09-30 15:39:36 +02:00
Ad Timmering
f38655ed1c [3.0.x] Refs #28690 -- Added more tests for parse_http_date().
Backport of 7cbd25a06e820cbd1a0bfbc339fb7d9a737c54fa from master
2019-09-30 15:39:28 +02:00
Hasan Ramezani
df0c2ac358 [3.0.x] Fixed #30774 -- Made serialization in migrations use members names for Enums.
Backport of f0adf3b9b7a19cdee05368ff0c0c2d087f011180 from master
2019-09-30 10:52:30 +02:00
David Vaz
30a613aff3 [3.0.x] Doc'd that migrate commmand accepts a unique migration name prefix.
Backport of e02f67ef2d03d48128e7a118bf75f0418e24e8ac from master
2019-09-30 09:47:29 +02:00
pablo
5d63bf0bc3 [3.0.x] Fixed #30802 -- Prevented manifest creation when running collectstatic in dry run mode.
Backport of fa8fe09e4e2b538c5d50a559081861d5c0635d55 from master
2019-09-27 23:06:55 +02:00
David Vaz
0c655f1df2 [3.0.x] Fixed #30597 -- Clarified how to unapply migrations.
Backport of 45554fd5c5c6a536db3ce70d78646d3dc398cf08 from master
2019-09-27 22:40:29 +02:00
David Vaz
5d40de0856 [3.0.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Backport of abba563c8635a52e8b657dee7708202e1f69433c from master
2019-09-27 20:09:28 +02:00
Hasan Ramezani
0dc39ca867 [3.0.x] Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields.
Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.

Backport of 95a11578ce41de1e152fe7d173f109e280aebd6d from master
2019-09-27 14:52:08 +02:00
Hasan Ramezani
da8f85aa82 [3.0.x] Refs #30798 -- Prevented chaining fields from the same related model multiple times in model Meta.ordering.
Backport of c7944628a1979453468d67818c63957532d396d8 from master
2019-09-27 14:52:02 +02:00
Glenn
311177d5d1 [3.0.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
Backport of c2678e49759e5c4c329bff0eeca2886267005d21 from master
2019-09-27 09:56:06 +02:00
Pablo García
49dcb5d3ba [3.0.x] Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
client_timeout is an instance attribute.

Backport of 2fd610eb301dc01e100befed891e8007fd2e981f from master
2019-09-27 08:35:55 +02:00
Mariusz Felisiak
1adf85d168 [3.0.x] Fixed #30800 -- Fixed migrations crash when altering a field with custom db_type().
Regression in 1378d665a1c85897d951f2ca9618b848fdbba2e7.
Backport of 580e644f24f1c5ae5b94784fb73a9953a178fd26 from master
2019-09-25 12:32:57 +02:00
Adam Johnson
f4b7acedbf [3.0.x] Documented admonition on when to use custom signals
Thanks Cesar Canassa for the suggestion and Aymeric Augustin for review.
Backport of 566fca14b3e1406f918898de5bb2b2382a44edaf from master
2019-09-25 10:39:55 +01:00
Mariusz Felisiak
fcaaff9862 [3.0.x] Refs #27910 -- Doc'd support for enumeration types serialization in migrations.
Backport of aad46ee274b0e294ac055cc199e6595de4ef4164 from master
2019-09-24 13:55:19 +02:00
Mariusz Felisiak
0098f26fdd [3.0.x] Refs #30350 -- Doc'd support for range serialization in migrations.
Backport of bc46e386c7aa496642d3ffc9e4f56ae5a46417a7 from master
2019-09-24 13:55:12 +02:00
Ryan Nowakowski
525c7e2afe [3.0.x] Updated the default cache key transformation in documentation.
Follow up to 6c69de80bdcd2744bc64cb933c2d863dd5e74a33.
Backport of 3f141719a198983a41840e3c2ea542f87c92e4c1 from master
2019-09-24 12:43:17 +02:00
Claude Paroz
1319124aa9 [3.0.x] Refs #26601 -- Used new-style middlewares in documentation.
Backport of d71497bb249a2c3ffec41e99089f5ae8e575f2d3 from master
2019-09-24 09:59:06 +02:00
Simon Charette
6b7bd079a6 [3.0.x] Fixed #30796 -- Prevented select_related() from mutating a queryset on chaining.
Thanks Darren Maki for the report.

Backport of 37f8f293775d0b672da8ae369d9a4e17f1db7851 from master
2019-09-24 09:47:21 +02:00
Jezeniel Zapanta
9510af35fc [3.0.x] Fixed #30732 -- Doc'd that SameSite cookies flags can affect xframe_options_exempt.
Backport of e8ad265ac882f8f118d2c4a7618bd3e3916fc13e from master
2019-09-24 08:43:55 +02:00
Hasan Ramezani
2362f27265 [3.0.x] Fixed #13296 -- Fixed ordering by Options.order_with_respect_to after deleting objects.
Thanks Simon Meers for the original patch.

Backport of f97bbad908df128189eff77d98af9a25ed1ecf23 from master
2019-09-23 11:45:33 +02:00
Mariusz Felisiak
368832e803 [3.0.x] Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
Backport of 343afa788080fb874bcd10eab1a1a2fede98c526 from master
2019-09-23 08:44:15 +02:00
Mariusz Felisiak
1611906094
[3.0.x] Refs #30771 -- Fixed RemovedInDjango31Warning in test_exact_query_rhs_with_selected_columns. 2019-09-20 22:01:28 +02:00
James Timmins
3697ddbf75 [3.0.x] Fixed #30771 -- Fixed exact lookup against queries with selected columns.
Use pre-existing select fields (and thereby GROUP BY fields) from
subquery if they were specified, instead of always defaulting to pk.

Thanks Aur Saraf for the report and Simon Charette for guidance.

Backport of 0719edcd5fed56157ffb3323a8f634aa5e8f9a80 from master
2019-09-20 11:14:39 +02:00
Andrew
def1857d9b [3.0.x] Fixed #30786 -- Used CONVERT_TZ to check if the time zone definitions are installed on MySQL.
Replaced a timezone check in the MySQL backend with one that doesn't
require access to the mysql.time_zone database.

Backport of 3346b78a8a872286a245d1e77ef4718fc5e6be1a from master
2019-09-20 08:57:13 +02:00
Carlton Gibson
e4dc1b8cac [3.0.x] Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers for add() and remove().
Thank you to Mariusz Felisiak for review.

Backport of bae05bcf68710cb6dafa51325c3ec83ddda83c39 from master
2019-09-19 11:40:47 +02:00
Sam Reynolds
e74ca0226a [3.0.x] Fixed #30776 -- Restored max length validation on AuthenticationForm.UsernameField.
Regression in 5ceaf14686ce626404afb6a5fbd3d8286410bf13.

Thanks gopackgo90 for the report and Mariusz Felisiak for tests.

Backport of 6c9778a58e4f680db180d4cc9dc5639d2ec1b40c from master
2019-09-18 12:04:47 +02:00
Min ho Kim
6c761a25fb [3.0.x] Fixed #30725 -- Fixed width of DateTimeField inputs in admin tabular inline.
"width" of DateTimeField inputs in admin tabular inline wasn't set
correctly what caused displaying too small inputs with responsive CSS
when timezone warning wasn't present.
Backport of b1d6b35e146aea83b171c1b921178bbaae2795ed from master
2019-09-17 14:34:14 +02:00
Nasir Hussain
685d956764 [3.0.x] Fixed #30758 -- Made RangeFields use multiple hidden inputs for initial data.
Backport of faf4b988fe75dd4045bc5c62496cc4f2e0db8c4d from master.
2019-09-17 12:21:02 +02:00
Katie McLaughlin
14125bb039 [3.0.x] Fixed #30775 -- Added admonition about missing imports to "Running tests" section in tutorial 5.
Backport of 44077985f58be02214a11ffde35776fed3c960e1 from master
2019-09-16 10:03:51 +02:00
Simon Charette
574154ef56 [3.0.x] Fixed #30769 -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.
This was a regression introduced by 7deeabc7c7526786df6894429ce89a9c4b614086
to address CVE-2019-14234.

Thanks Tim Kleinschmidt for the report and Mariusz for the tests.

Backport of 6c3dfba89215fc56fc27ef61829a6fff88be4abb from master
2019-09-16 08:53:02 +02:00
Mariusz Felisiak
7bd28727ad [3.0.x] Added stub release notes for 1.11.25 and 2.1.13.
Backport of bd7e0f81f8590eadcb820c976ba03c9b75bbcad6 from master
2019-09-16 07:43:27 +02:00