1
0
mirror of https://github.com/django/django.git synced 2025-04-06 22:46:41 +00:00

13009 Commits

Author SHA1 Message Date
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
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
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
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
Mariusz Felisiak
84a2b2e7a7 [4.1.x] Fixed #34138 -- Avoided table rebuild when adding inline m2m fields on SQLite.
Regression in 2f73e5406d54cb8945e187eff302a3a3373350be.

Thanks David Wobrock for the report.
Backport of 7b0e9ea53ca99de2f485ec582f3a79be34b531d4 from main
2022-11-04 09:31:30 +01:00
Joseph Victor Zammit
018311d481 [4.1.x] Fixed #30801 -- Improved guidance for making good use of signals.
Backport of 71e9694856627d4027c9df066045f0e1c2b5cf27 from main
2022-11-02 17:50:31 +01:00
Mariusz Felisiak
e8ea852f07 [4.1.x] Added stub release notes for 4.1.4.
Backport of c765b62e3258de4dce9935ab7aed430346dfbc10 from main
2022-11-01 07:31:24 +01:00
Mariusz Felisiak
9a9a428d73 [4.1.x] Updated man page for Django 4.1.3. 2022-11-01 07:02:20 +01:00
Mariusz Felisiak
cf69b9f7ef [4.1.x] Added release date for 4.1.3.
Backport of 635e5643b3921e278dbddf8f13ecb66f17cd6aee from main
2022-11-01 06:59:26 +01:00
Nick Pope
cc5dc19834 [4.1.x] Removed obsolete doc reference to asyncio.iscoroutinefunction.
Backport of 970f61fefb148284fb2af63b5cc844279254111a from main
2022-10-29 13:35:15 +02:00
Mariusz Felisiak
ddf3ee6f9e [4.1.x] Refs #33173 -- Doc'd Python 3.11 compatibility in Django 4.1.x.
Backport of eb6cc01d0f62c73441a3610193ba210176d0935f from main.
2022-10-26 20:13:41 +02:00
Simon Willison
ccb830e21a [4.1.x] Fixed #34109 -- Updated instructions for running with Uvicorn.
Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
Backport of 022a864a5d1de28b853f009566a24be251e90d96 from main
2022-10-26 11:54:52 +02:00
Smile
6ddb5aef98 [4.1.x] Improved "rebase" example for upstream changes in working with Git docs.
Backport of 83cdcac35535ef122f687f5dcc5f8272dae7b3f0 from main
2022-10-24 10:04:56 +02:00
Smile
72e74e46af [4.1.x] Corrected curl call in working with Git docs.
Backport of 5ec64fa481892747ee5ce7ec13584cc4fe53b857 from main
2022-10-21 16:13:02 +01:00
Ryan Cheley
d2c52fc727 [4.1.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 38936f6a0cecfdfbfc30009a1f0a725b770f0854 from main
2022-10-21 16:03:14 +01:00
Diane DeMers Chen
2611ecd5d9 [4.1.x] Updated UTC uses to datetime.timezone.utc in docs.
Backport of a16132a9c4b32f9580cdda98a2711ae7261c2576 from main
2022-10-20 15:53:59 -07:00
Carlton Gibson
84814412a0 [4.1.x] Fixed #34085 -- Made management commands don't use black for non-Python files.
Bug in d113b5a837f726d1c638d76c4e88445e6cd59fd5.

Co-authored-by: programmylife <acmshar@gmail.com>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of 5c2c7277d4554db34c585477b269bb1acfcbbe56 from main.
2022-10-20 14:38:40 -07:00
Alan D. Snow
202f5ae96a [4.1.x] Updated example of creating GEOSGeometry from WKB to use memoryview.
Backport of da2621c3dfef934000c479750e0276d992025542 from main
2022-10-13 13:22:15 +02:00
Mariusz Felisiak
f72ba56af0 [4.1.x] Refs #34059 -- Doc'd lack of support for validation of constraints with JSONFields.
Thanks Dan LaManna for the report.
Backport of 004f985b918d5ea36fbed9b050459dd22edaf396 from main
2022-10-12 11:51:26 +02:00
Ralph Reid
950a84ce42 [4.1.x] Fixed #25996 -- Revised performance section in URLs topic docs.
Backport of d3579ca1124a163cad760558e8d138984e7a10b4 from main
2022-10-10 08:29:25 +02:00
J.V. Zammit
d959d66fa9 [4.1.x] Fixed #33797 -- Prioritized cached database backend for cached sessions in docs.
Co-authored-by: Adam Johnson <me@adamj.eu>
Backport of fa9ac16c1345a7fb6ad500c84961a954529ba2b9 from main
2022-10-07 09:40:04 +02:00
Mariusz Felisiak
735a610139 [4.1.x] Removed note about "0" IP address from tutorial.
Tutorial should offer only minimum, necessary, explanation.
Backport of c583418e3ec2a7f2997f739a51ae07291c18070e from main
2022-10-04 11:51:46 +02:00
Carlton Gibson
e9a24a15f2 [4.1.x] Added CVE-2022-36359 to security archive.
Backport of 93d4c9ea1de24eb391cb2b3561b6703fd46374df from main
2022-10-04 10:12:35 +02:00
Carlton Gibson
324d4fcbe1 [4.1.x] Added stub release notes for 4.1.3 release.
Backport of 7a089273236cf79a6c8a3db7a622fb89872ebe37 from main
2022-10-04 09:49:47 +02:00
Adam Johnson
9d656ea51d [4.1.x] Fixed CVE-2022-41323 -- Prevented locales being interpreted as regular expressions.
Thanks to Benjamin Balder Bach for the report.
2022-10-04 09:12:42 +02:00
Mariusz Felisiak
7843c43c49 [4.1.x] Refs #32987 -- Relaxed system check for template tag modules with the same name by turning into a warning.
Thanks Claude Paroz for the report.

Regression in 004b4620f6f4ad87261e149898940f2dcd5757ef.
Backport of f71b0cf769d9ac582ee3d1a8c33d73dad3a770da from main
2022-10-03 10:52:47 +02:00
David Sanders
f78314875f [4.1.x] Clarified how to reference RelatedObjectDoesNotExist exceptions.
Backport of da02cbd1effc951b14c981925d0e26a39566649e from main
2022-10-01 16:43:11 +02:00
Mariusz Felisiak
7a1675806a [4.1.x] Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers."
This reverts 4f8c7fd9d91b35e2c2922de4bb50c8c8066cbbc6 and adds
two regression tests:
- test_related_manager_refresh(), and
- test_create_copy_with_m2m().

Thanks joeli for the report.
Backport of 5e0aa362d91d000984995ce374c2d7547d8d107f from main
2022-09-30 18:19:36 +02:00