1
0
mirror of https://github.com/django/django.git synced 2025-07-05 18:29:11 +00:00

30980 Commits

Author SHA1 Message Date
Mariusz Felisiak
d3edac6c07 [4.1.x] Bumped versions in pre-commit and npm configurations.
Backport of f825536b5e09b3a047fec0c10aabd91bace0995c from main
2023-01-31 14:00:43 +01:00
Mariusz Felisiak
a5a36da28b [4.1.x] Fixed E501 flake8 error. 2023-01-31 13:33:36 +01:00
Durval Carvalho
f586c12f01 [4.1.x] Fixed #34180 -- Added note about resetting language in test tear-downs.
Co-authored-by: Faris Naimi <farisfaris66@gmail.com>

Backport of 40217d1a82b0c16cddba377325d12b2c253f402a from main
2023-01-31 07:29:55 +01:00
Mariusz Felisiak
26b7a25632 [4.1.x] Fixed #34291 -- Fixed Meta.constraints validation crash on UniqueConstraint with ordered expressions.
Thanks Dan F for the report.

Bug in 667105877e6723c6985399803a364848891513cc.

Backport of 2b1242abb3989f5d74e787b09132d01bcbee5b55 from main.
2023-01-26 09:34:15 +01:00
Carlton Gibson
bc48c7dfd6 [4.1.x] Adjusted release notes for 4.1.6, 4.0.9, and 3.2.17.
Backport of d8e1442ce2c56282785dd806e5c1147975e8c857 from main
2023-01-25 12:27:07 +01:00
Carlton Gibson
bb59ef749f [4.1.x] Set date and added stub release notes for 4.1.6, 4.0.9, and 3.2.17.
Backport of 1df963ad2476726d63be132c0cee47e07b8250d7 from main
2023-01-25 11:58:50 +01:00
Stephen
c1bf918bad [4.1.x] Corrected passenv value for tox 4.0.6+.
Backport of 34b328814976a2e2f7907361a494202763649f3f from main
2023-01-25 06:11:46 +01:00
noFFENSE
2a32d3963c [4.1.x] Fixed #34242 -- Doc'd that primary key is set to None when deleting objects.
Backport of 5cd1385356d4b275133ddb0f8c78b2f37c5901eb from main
2023-01-20 10:57:47 +01:00
sarahboyce
d550e3cccd [4.1.x] Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
Co-authored-by: Christian Bundy <me@christianbundy.com>

Backport of 0fbdb9784da915fce5dcc1fe82bac9b4785749e5 from main
2023-01-16 10:04:03 +01:00
Steven
d805010d68 [4.1.x] Fixed "nulls characters" typo in docs.
Backport of 4b7016866a80ec8582f55fc7eedfa692039e9648 from main
2023-01-16 08:24:21 +01:00
Mariusz Felisiak
7ebcda3331 [4.1.x] Fixed thread termination in servers.tests.LiveServerPort on Python 3.10.9+, 3.11.1+, and 3.12+.
Class cleanups registered in TestCase subclasses are no longer called
as TestCase.doClassCleanups() only cleans up the particular class, see

c2102136be
Backport of d02a9f0cee84e3d23f676bdf2ab6aadbf4a5bfe8 from main
2023-01-12 06:06:24 +01:00
Raj Desai
420f3230a2 [4.1.x] Fixed #34232 -- Fixed typo in docs/intro/tutorial07.txt.
Backport of d2310f6473593d28c14b63a72253408b568e100a from main
2023-01-04 19:32:08 +01:00
Mariusz Felisiak
f6d138eeff [4.1.x] Added stub release notes for 4.1.6.
Backport of 75500feecddcb27b6ab65c9057e7317024cef761 from main
2023-01-02 08:51:44 +01:00
Mariusz Felisiak
4651ef5a80 [4.1.x] Post-release version bump. 2023-01-02 08:31:10 +01:00
Mariusz Felisiak
eba81c8390 [4.1.x] Bumped version for 4.1.5 release. 4.1.5 2023-01-02 08:15:12 +01:00
Mariusz Felisiak
7bcf84d363 [4.1.x] Added release date for 4.1.5.
Backport of 174d8157b5700f6451ac0bdc3eef7e73121bc4a4 from main
2023-01-02 08:11:41 +01:00
Mariusz Felisiak
a9ed890837 [4.1.x] Disabled auto-created table of contents entries on Sphinx 5.2+.
Auto-created table of contents entries for all domain objects (e.g.
functions, classes, attributes, etc.) were added in Sphinx 5.2, see
https://github.com/sphinx-doc/sphinx/issues/6316.

An option to control new table of contents entries was added in Sphinx
5.2.3, see https://github.com/sphinx-doc/sphinx/pull/10886.
Backport of 279967ec859a9a5240318cf29a077539b0e3139f from main
2022-12-29 06:09:17 +01:00
Mariusz Felisiak
46b28bbe15
[4.1.x] Updated translations from Transifex.
Updated Bulgarian, Esperanto, Hungarian, Japanese, Macedonian, Persian,
Portuguese (Brazil), Russian, Spanish, and Turkmen translations.
2022-12-20 19:33:28 +01:00
Andrew Godwin
f92ecd5134 [4.1.x] Refs DEP 12 -- Renamed TB to Steering Council wherever mentioned.
Backport of a09d39f28609c707a62dbbbdc4e55489fae1631f from main
2022-12-20 09:12:41 +01:00
Mariusz Felisiak
78bb8f95f8 [4.1.x] Fixed typo in docs/topics/async.txt.
Backport of 0c60d11bdbe5bf353e3fa0f2db1cb85786ca3448 from main
2022-12-19 20:26:29 +01:00
TAKAHASHI Shuuji
54bdc99cd0 [4.1.x] Fixed typo in docs/topics/http/sessions.txt.
Backport of 05d70fb92b72f9701bea99c809a5edd53b290de9 from main
2022-12-16 10:38:55 +01:00
Paolo Melchiorre
2d156780f3 [4.1.x] Fixed #34213 -- Updated PostgreSQL package names in installing PostGIS docs.
Backport of d44ee518c4c110af25bebdbedbbf9fba04d197aa from main
2022-12-14 16:50:44 +01:00
Mariusz Felisiak
1106c99a1f [4.1.x] Removed KyngChaos packages from docs.
See https://www.kyngchaos.com/2022/09/11/goodbye-software-packaging/
Backport of 9d9ec0c79f52efad3a4d3f6ac4644d5c9fb1d22c from main
2022-12-14 11:18:48 +01:00
James Gillard
af3cfc8630 [4.1.x] Fixed #34205 -- Fixed Meta.constraints validation crash with ArrayField and __len lookup.
Regression in 88fc9e2826044110b7b22577a227f122fe9c1fb5 that began
manifesting in Django 4.1.

Backport of c5ed884eabf3b2b67581c55bf6c87e721f69157f from main.
2022-12-10 19:39:00 +01:00
Sylvain Fankhauser
3137174344 [4.1.x] Fixed #34172 -- Improved ModelAdmin.get_urls example.
Backport of 0036bcdcb65874f63fff8139fe86574fa155eb26 from main
2022-12-07 11:46:30 +01:00
David Smith
7713370f08 [4.1.x] Refs #32339 -- Updated Form API docs to prefer as_div() output style.
Backport of 9ac97e7eb5a74f813012715c7598c8608e78e178 from main
2022-12-07 11:08:05 +01:00
Carlton Gibson
c2dadbcbf0 [4.1.x] Added stub release notes for 4.1.5.
Backport of 845a5db38fd3d2695af8cece78951729936a0196 from main
2022-12-06 10:21:44 +01:00
Carlton Gibson
e3309d68ea [4.1.x] Post-release version bump. 2022-12-06 10:16:08 +01:00
Carlton Gibson
2ff479f50c [4.1.x] Bumped version for 4.1.4 release. 4.1.4 2022-12-06 10:12:38 +01:00
Carlton Gibson
65d31d9e41 [4.1.x] Added release date for 4.1.4.
Backport of f4a053a2940c2e5324550cd796724a5837362cba from main
2022-12-06 09:57:26 +01:00
Ryan Cheley
24170562d4 [4.1.x] Fixed #24048 -- Corrected QuerySet.only() docs about interaction with defer().
Backport of 68bd8f4cb4d14dccfb016bb15177506234f567fb from main
2022-12-06 08:25:09 +01:00
Mariusz Felisiak
423fa4c072 [4.1.x] Updated various links to HTTPS and new locations.
Backport of 514884e9a555c51afba3d26d9370a908af4752a6 from main
2022-12-06 06:00:34 +01:00
sdolemelipone
29c9bba8b9 [4.1.x] Fixed #34199 -- Added example to StringAgg docs.
Backport of 344593893b6fc5fdda45a74013fc8622401c5058 from main
2022-12-05 05:52:00 +01:00
sdolemelipone
a196dcc9c8 [4.1.x] Fixed typo in docs/ref/contrib/postgres/aggregates.txt.
Backport of 0abd8f1cb8a9bab4627f5798ff5a87c32926b562 from main
2022-12-05 05:51:50 +01:00
Mariusz Felisiak
58156f4ed7 [4.1.x] Refs #33397, Refs #34160 -- Added release note for resolving output_field changes.
Backport of e8dcef155c1848ef49e54f787a7d20faf3bf9296 from main
2022-11-30 08:22:29 +01:00
Mariusz Felisiak
44f755035d [4.1.x] Doc's check_password()'s setter and preferred arguments.
Follow up to 90e05aaeac612a4251640564aa65f103ac635e12.
Backport of 662497cece5480b39d1d0c7f68c7b0ca395be923 from main
2022-11-28 08:14:40 +01:00
Riccardo Magliocchetti
8a623d1354 [4.1.x] Adjusted BaseFormSet.get_form_kwargs example in docs.
Backport of df2db8b4a5237eb881e8450639ef7dd7b2a059fb from main
2022-11-24 15:17:13 +01:00
Tibor Leupold
754c0c5c6c [4.1.x] Fixed #34064 -- Adjusted locale override wording in settings docs.
Backport of 33f4de34e63c00616ed1624acdf9cd8adfaf33a6 from main
2022-11-24 15:11:10 +01:00
KrishnaKumar Thanki
81003a9ee6 [4.1.x] Fixed typo in settings topic doc.
Backport of d526d1569ca4a1e62bb6a1dd779d2068766d348c from main
2022-11-23 14:34:01 +01:00
Adam Zapletal
2c099a257a [4.1.x] Corrected a typo in signals reference.
Backport of 5322b57f5634cab1649177f97a408bbac7efa28f from main
2022-11-23 14:18:05 +01:00
Anders Hovmöller
3a46d5ec79 [4.1.x] Refs #32873 -- Adjusted formatting note on USE_L10N default.
Backport of 9582f2f9d173935fef35c8c27b0f80258b1fb106 from main
2022-11-23 13:42:59 +01:00
DevilsAutumn
170322451a [4.1.x] Fixed #34171 -- Fixed QuerySet.bulk_create() on fields with db_column in unique_fields/update_fields.
Bug in 0f6946495a8ec955b471ca1baaf408ceb53d4796.

Thanks Joshua Brooks for the report.

Backport of 4035bab56f2862a25cd7bfba41a84e58672cb1cc from main
2022-11-22 20:04:38 +01:00
Mariusz Felisiak
3b0a8ea299 [4.1.x] Fixed #34177 -- Fixed QuerySet.bulk_create() crash on "pk" in unique_fields.
Bug in 0f6946495a8ec955b471ca1baaf408ceb53d4796.
Backport of 7d5329852f19c6ae78c6f6f3d3e41835377bf295 from main
2022-11-22 14:26:48 +01:00
Mariusz Felisiak
075a4b51c7 [4.1.x] Bumped gh-problem-matcher-wrap version to 2.0.0.
This avoids issues with using deprecated Node.js 12 actions.

Backport of 744a1af7f943106e30d538e6ace55c2c66ccd791 from main.
2022-11-22 12:01:27 +01:00
sarahboyce
cedf1be7e5 [4.1.x] Refs #34099 -- Doc'd that custom Model.save() should update update_fields kwarg.
Backport of 0678d657222dd667bcc7e4fc307ea2ab70d219d7 from main
2022-11-15 08:32:23 +01:00
Tony Lechner
939bab68d8 [4.1.x] Fixed #34154 -- Made mixin headers consistent in auth docs.
Backport of b088cc2feaac638aea91e4d3ab22d276f81630ff from main
2022-11-14 05:29:22 +01:00
David Wobrock
8c8427c35e [4.1.x] Improved async request factory and client docs.
Backport of 0931d5b087a37545af0bef597deac03b5f0f7db0 from main
2022-11-10 10:08:42 +01:00
Jon Janzen
9fb57fcc70 [4.1.x] Fixed #34139 -- Fixed acreate(), aget_or_create(), and aupdate_or_create() methods for related managers.
Bug in 58b27e0dbb3d31ca1438790870b2b51ecdb10500.

Backport of 7b94847e384b1a8c05a7d4c8778958c0290bdf9a from main
2022-11-08 08:13:56 +01:00
Bhuvnesh
8740d2f452 [4.1.x] Refs #33646 -- Moved tests of QuerySet async interface into async tests.
Backport of e580b891cb5ae31eb0571c88428afb9bf69e47f2 from main
2022-11-08 08:13:33 +01:00
Daniel Ivanov
eca526eab0 [4.1.x] Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items.
Bug in 480191244d12fefbf95854b2b117c71ffe44749a.

Thanks Michal Čihař for the report.

Backport of 5eab4d1924613a5506e517f157054b4852ae7dc2 from main
2022-11-07 07:57:11 +01:00