1
0
mirror of https://github.com/django/django.git synced 2025-01-15 12:52:31 +00:00

31557 Commits

Author SHA1 Message Date
Mariusz Felisiak
f6e0029fcd [4.2.x] Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on Python 3.11.4+.
5342f5e713

Follow up to 38e63c9e61152682f3ff982c85a73793ab6d3267.
Backport of 2eb1f37260f0e0b71ef3a77eb5522d2bb68d6489 from main
2023-04-07 11:08:32 +02:00
Mariusz Felisiak
b0d7753d07 [4.2.x] Fixed #34470 -- Enforced UTF-8 encoding on PostgreSQL.
Regression in 6a2165816394ab4bb259f6171e82417e098e97a6.
Backport of 5b8a043bf51ab8bcf4a758d0b4646f30a84be183 from main
2023-04-07 10:12:19 +02:00
Anders Kaseorg
0bc2bbf041 [4.2.x] Fixed #34466 -- Reallowed setting cursor_factory in DATABASES["options"] on PostgreSQL.
Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.

Backport of 73cbb372baa45d1fdafd571e2f430a980831f722 from main
2023-04-07 09:21:54 +02:00
Simon Charette
511dc3db53 [4.2.x] Fixed #34464 -- Fixed queryset aggregation over group by reference.
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.

Refs #28477.

Thanks Ian Cubitt for the report.

Backport of 9daf8b4109c3e133eb57349bb44d73cc60c5773c from main
2023-04-07 06:58:24 +02:00
Rishi Joshi
4d6a92749c [4.2.x] Fixed typos in docs/faq/contributing.txt.
Backport of 1c7aed71ec70d4ef0c2cae6de9cee844d03e7054 from main
2023-04-06 21:40:35 +02:00
Mariusz Felisiak
db49def5fc [4.2.x] Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol.
Thanks Patryk Zawadzki for the report.

Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.

Backport of 4bf4222010fd8e413963c6c873e4088614332ef9 from main
2023-04-06 13:33:13 +02:00
Mariusz Felisiak
dece89df81 [4.2.x] Moved SearchVectorIndexTests.test_search_vector_index to postgres_tests.test_indexes.
Backport of 02a04ab79ae8c9e1aa10a91ee8b73fc5252a58e8 from main
2023-04-06 13:33:08 +02:00
Yahya Ali
e68da20596 [4.2.x] Fixed #34463 -- Corrected code-block directives in docs.
Thanks ExTexan for the report.
Backport of 263db8af469f0f3a5bd8ddc4a7dd0154c3d1fbca from main
2023-04-06 13:08:44 +02:00
Sarah Boyce
e34a54a36e [4.2.x] Refs #34028 -- Doc'd that get_script_prefix() cannot be used outside of the request-response cycle.
Backport of bdf59bff657975e577b86b194b39ec2f77983d2b from main
2023-04-06 13:02:00 +02:00
Mariusz Felisiak
32cfa73c6a [4.2.x] Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on Python 3.12+.
2a4d8c0a9e
Backport of 38e63c9e61152682f3ff982c85a73793ab6d3267 from main
2023-04-05 13:59:55 +02:00
Mariusz Felisiak
05d6efa958 [4.2.x] Added release date for 4.1.8.
Backport of fdf0a367bdd72c70f91fb3aed77dabbe9dcef69f from main
2023-04-05 06:19:12 +02:00
Simon Charette
647920b766 [4.2.x] Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.
Thanks Andrew Cordery for the report.

Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.

Backport of 87c63bd8df0eb0109df333df1264c6a96707d6a4 from main
2023-04-05 06:06:03 +02:00
David Sanders
272dc386c2 [4.2.x] Refs #34434 -- Added note about breaking changes in psycopg version 3 to release notes.
Backport of ff9ceed32b880733d94190742e45dbcf5927b161 from main
2023-04-04 17:07:08 +02:00
Swara
50d469fe48 [4.2.x] Fixed Central Kurdish (Sorani) translations of date-related strings.
Backport of 79a3ea83b13a336b5dd2963c4dab374b2064f092 from main
2023-04-04 11:46:26 +02:00
Mariusz Felisiak
42b362e081 [4.2.x] Updated release process for 2.0+ release numbering and latest practices.
Backport of 073b5fd40035759afaebe5c77de5269aee851643 from main
2023-04-04 07:28:42 +02:00
Mariusz Felisiak
439d1c59f2 [4.2.x] Added stub release notes for 4.2.1.
Backport of 4e4eda6d6c8a5867dafd2ba9167ad8c064bb644a from main
2023-04-03 11:20:47 +02:00
Mariusz Felisiak
cd071f2902 [4.2.x] Post-release version bump. 2023-04-03 10:30:34 +02:00
Mariusz Felisiak
879e5d587b [4.2.x] Bumped version for 4.2 release. 4.2 2023-04-03 10:24:35 +02:00
Mariusz Felisiak
60018238c8 [4.2.x] Finalized release notes for Django 4.2.
Backport of 8adbab49e116c31619ca38061cb2e74a1a1ec85a from main
2023-04-03 09:03:00 +02:00
Mariusz Felisiak
3e497de412 [4.2.x] Updated man page for Django 4.2 final. 2023-04-03 08:56:48 +02:00
Mariusz Felisiak
5b87ed8ca1 [4.2.x] Updated asgiref dependency for 4.2 release series. 2023-04-03 08:48:58 +02:00
Mariusz Felisiak
fa68771932
[4.2.x] Updated translations from Transifex. 2023-04-03 08:38:58 +02:00
Edison Wang
9ef2625cd5 [4.2.x] Fixed #34431 -- Improved Date/DateTimeField/TimeField.input_formats docs.
Backport of cbcc1240e912cfc47cb6ea0c4fe6b4a48f36f7e2 from main
2023-04-03 08:15:10 +02:00
Tim Graham
837e68a1bf [4.2.x] Prevented PostgreSQL's DatabaseCreation._execute_create_test_db() from hiding clause-less exceptions.
Regression in 3cafb783f3f711c7413ba2b8d7c8ff750bd4d6e1.
Backport of 465f3c045b2cb7d757a8cbabc909c137901c9844 from main
2023-04-03 05:55:52 +02:00
Mariusz Felisiak
48d5889de9 [4.2.x] Updated Transifex configuration for new CLI.
Backport of 56dadad7435af75d57a29699855d82b37434259a from main
2023-04-02 09:55:30 +02:00
JiriKr
634acb5180 [4.2.x] Fixed #34446 -- Removed unneeded and incorrect example in coding style docs.
Backport of cfe563ffaf01d22343717176d96bfca0d05f60fb from main
2023-03-30 11:41:32 +02:00
Mariusz Felisiak
47530bfb20 [4.2.x] Refs #34383 -- Corrected margins in admin fieldsets with multiple fields on the same line on small screens.
Regression in d687febce5868545f99974d2499a91f81a32fef5.
Backport of b347dc63d5468564cbb7050461565f4f89032664 from main
2023-03-29 20:11:34 +02:00
Mariusz Felisiak
4c26bba9c7 [4.2.x] Bumped versions in pre-commit and npm configurations.
Backport of 93faad78cc7eabc7c5e22a77c0481cd72f2e29f8 from main
2023-03-29 16:29:25 +02:00
Tim Graham
4b01a4e6f5 [4.2.x] Fixed overindentation of AdminURLFieldWidget.
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
Backport of 080e13a6ef9c896bba0f272c68d7d03696058955 from main
2023-03-29 12:41:13 +02:00
Mariusz Felisiak
f12dc36754 [4.2.x] Fixed #34443 -- Fixed filtering by transforms on reverse relations.
Regression in ce6230aa976e8d963226a3956b45a8919215dbd8.
Backport of 996c802229b93fe83c39842e56c6b8668464deaf from main
2023-03-28 21:03:48 +02:00
Mariusz Felisiak
be6a309b1d [4.2.x] Refs #29799 -- Added field instance lookups to suggestions in FieldErrors.
Bug in cd1afd553f9c175ebccfc0f50e72b43b9604bd97.
Backport of 3afdc9e9b47d5bdd1bd653633b4cb2357478ade5 from main
2023-03-28 19:19:30 +02:00
Gary Jarrel
99ba5b43f0 [4.2.x] Fixed #34438 -- Reallowed extending UserCreationForm.
Regression in 298d02a77a69321af8c0023df3250663e9d1362d.

Backport of fcc7dc5781667932bf0bf8bec76df458836e5e95 from main
2023-03-28 12:48:25 +02:00
Tom Carrick
788f7b8100 [4.2.x] Fixed #34383 -- Fixed layout of admin fieldsets with multiple fields on the same line.
Thanks Antonio Candido Nazareth junior for the report.

Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of d687febce5868545f99974d2499a91f81a32fef5 from main
2023-03-28 05:35:28 +02:00
Mariusz Felisiak
ded3334af6 [4.2.x] Refs #34316 -- Fixed layout of admin password change forms and help texts for RTL languages.
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.

Follow up to e67804668115fd388e7554c6a809bd409f70adfe and
39d1e45227e060746ed461fddde80fa2b6cf0dcd.
Backport of f5c5c571d3b87a78d005ea6f21959388d1747696 from main
2023-03-24 20:49:05 +01:00
Mariusz Felisiak
870067e578 [4.2.x] Fixed typos in docs/ref/forms/renderers.txt.
Backport of 659f6b5bc5d68661a071f0cd13b8dab678067023 from main
2023-03-24 12:55:15 +01:00
Carlton Gibson
35ffaf77c2 [4.2.x] Added Django Forum to mailing lists page.
Backport of d33368b4ab6ae0c01e83d525f7e1655156a640d1 from main
2023-03-24 08:58:45 +01:00
Mariusz Felisiak
b85dd83194 [4.2.x] Refs #34316 -- Fixed displaying error lists in admin password change forms on small screens.
Follow up to e67804668115fd388e7554c6a809bd409f70adfe.
Backport of 39d1e45227e060746ed461fddde80fa2b6cf0dcd from main
2023-03-23 10:44:27 +01:00
Mariusz Felisiak
12561b7021 [4.2.x] Refs #33781 -- Restored alignment for admin split-field timezone warnings for RTL languages.
Regression in f3e2bb0833105f43efc0cc6f19c8465bc1b1a785.
Backport of 73ae8545ae620469550f1adcfe63fb9b9e4f3eb3 from main
2023-03-23 10:33:25 +01:00
Jesper Olsson
b0b769769e [4.2.x] Fixed #34409 -- Doc'd limitation of dictfetchall() and namedtuplefetchall() examples.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 216eb63883050f6a3bf5d306e42972e7a6b6dff5 from main
2023-03-22 19:23:26 +01:00
Carlton Gibson
d118cbb1ed [4.2.x] Doc'd use of asgiref.sync adapters with sensitive variables.
Backport of 6087bc4e15e89d968396807f8485f4b5624c4f03 from main.
2023-03-22 16:24:56 +01:00
amirsoroush
e4fad1372d [4.2.x] Fixed typo in docs/topics/class-based-views/mixins.txt.
Backport of 6087bc4e15e89d968396807f8485f4b5624c4f03 from main
2023-03-22 09:56:06 +01:00
Carlton Gibson
ae824eceb1 [4.2.x] Fixed #34428 -- Made ASGIStaticFilesHandler adapt response to async iterator.
Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830.
Backport of 02c356f2f3945b8075735d485c3cf48cad991011 from main
2023-03-21 20:52:59 +01:00
Mariusz Felisiak
e829b0a239 [4.2.x] Bumped version for 4.2 release candidate 1. 4.2rc1 2023-03-20 08:19:05 +01:00
Mariusz Felisiak
7e79fb35d4
[4.2.x] Updated source translation catalogs. 2023-03-20 05:59:41 +01:00
Mariusz Felisiak
f2923306f1 [4.2.x] Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional.
Co-authored-by: Author: Claude Paroz <claude@2xlibre.net>
Backport of e10c1688f96e3b2d202fe401472b7b25f6105969 from main
2023-03-18 14:06:09 +01:00
Ayush Bisht
eff2ba3f8d [4.2.x] Fixed #34404 -- Clarified how FileResponse set Content-Type header.
Backport of fc266b694b9129e44b597d8a56927ee13fdac358 from main
2023-03-16 08:31:23 +01:00
Mariusz Felisiak
69a3890c2a [4.2.x] Refs #32355 -- Bumped required version of sqlparse in setup.cfg.
Follow up to 63d1cb0092f8933a92f471c5150d61140f33882c.

Backport of fbe850106b2e4b85f838219cb9e1df95fba6c164 from main.
2023-03-13 12:09:43 +01:00
Adam Johnson
a0f46ea7e8 [4.2.x] Corrected example in CreateCollation() docs.
Backport of 4db33e96d1b5b4ba1a739e15b28835495f78eee4 from main
2023-03-12 15:03:07 +01:00
Mariusz Felisiak
2e57dc490b [4.2.x] Doc'd that action descriptions are %-formatted.
Co-authored-by: JD Bothma <jbothma@gmail.com>

Backport of cc67344db9de0248ba1064f7e986c6b29276a7b1 from main
2023-03-09 15:44:40 +01:00
Mariusz Felisiak
87a55e0b51 [4.2.x] Fixed #34395 -- Updated admin's jQuery to 3.6.4.
Backport of 18473004afd82a616ba6c9ac22f476347fde4846 from main
2023-03-09 08:55:34 +01:00