Commit graph

30937 commits

Author SHA1 Message Date
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 744a1af7f9 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 0678d65722 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 b088cc2fea 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 0931d5b087 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 58b27e0dbb.

Backport of 7b94847e38 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 e580b891cb 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 480191244d.

Thanks Michal Čihař for the report.

Backport of 5eab4d1924 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 2f73e5406d.

Thanks David Wobrock for the report.
Backport of 7b0e9ea53c 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 71e9694856 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 c765b62e32 from main
2022-11-01 07:31:24 +01:00
Mariusz Felisiak
5ed0ba2ce0 [4.1.x] Post-release version bump. 2022-11-01 07:12:53 +01:00
Mariusz Felisiak
7dfd29b84e [4.1.x] Bumped version for 4.1.3 release. 2022-11-01 07:03:02 +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 635e5643b3 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 970f61fefb 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 eb6cc01d0f from main.
2022-10-26 20:13:41 +02:00
Mariusz Felisiak
7b208d7e93 [4.1.x] Refs #33173 -- Added Python 3.11 to classifiers and tox.ini.
Backport of e51c998f8d from main
2022-10-26 19:08:43 +02:00
Mariusz Felisiak
72f08f3575 [4.1.x] Refs #33173 -- Fixed destroying test databases when running tests in parallel using spawn on Windows.
Thanks Simon Willison for inspiration.

Backport of 80777d30b3 from main
2022-10-26 19:08:14 +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 022a864a5d from main
2022-10-26 11:54:52 +02:00
Marcelo Galigniana
e21a7cfc16 [4.1.x] Fixed flaky test_ForeignKey_using_to_field test.
Backport of 1d6948096f from main
2022-10-24 12:35:20 +02:00
Smile
6ddb5aef98 [4.1.x] Improved "rebase" example for upstream changes in working with Git docs.
Backport of 83cdcac355 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 5ec64fa481 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 38936f6a0c from main
2022-10-21 16:03:14 +01:00
HieuPham9720
2389c57f5d [4.1.x] Skipped scrypt tests when OpenSSL 1.1+ is not installed.
Backport of 3e928de8ad from main
2022-10-20 18:51:58 -07:00
Diane DeMers Chen
2611ecd5d9 [4.1.x] Updated UTC uses to datetime.timezone.utc in docs.
Backport of a16132a9c4 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 d113b5a837.

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

Backport of 5c2c7277d4 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 da2621c3df 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 004f985b91 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 d3579ca112 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 fa9ac16c13 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 c583418e3e 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 93d4c9ea1d 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 7a08927323 from main
2022-10-04 09:49:47 +02:00
Carlton Gibson
e9dac0e312 [4.1.x] Post-release version bump. 2022-10-04 09:46:00 +02:00
Carlton Gibson
6e9c6a05f1 [4.1.x] Bumped version for 4.1.2 release. 2022-10-04 09:42:42 +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 004b4620f6.
Backport of f71b0cf769 from main
2022-10-03 10:52:47 +02:00
David Sanders
f78314875f [4.1.x] Clarified how to reference RelatedObjectDoesNotExist exceptions.
Backport of da02cbd1ef from main
2022-10-01 16:43:11 +02:00
Mariusz Felisiak
96c541ecef [4.1.x] Refs #34058 -- Fixed changing/deleting sequences when altering pre-Django 4.1 auto fields on PostgreSQL.
Thanks Anders Kaseorg for the report.

Follow up to 19e6efa50b.
Regression in 2eea361eff.

Backport of bc3b8f1524 from main
2022-10-01 07:59:28 +02:00
Mariusz Felisiak
7a1675806a [4.1.x] Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers."
This reverts 4f8c7fd9d9 and adds
two regression tests:
- test_related_manager_refresh(), and
- test_create_copy_with_m2m().

Thanks joeli for the report.
Backport of 5e0aa362d9 from main
2022-09-30 18:19:36 +02:00
Antoine Lorence
ecf6506f44 [4.1.x] Fixed #34062 -- Updated View.http_method_not_allowed() to support async.
As with the options() methods, wrap the response in a coroutine if
the view is async.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of 9b0c9821ed from main
2022-09-29 16:29:34 +02:00
Mariusz Felisiak
97353bc64b [4.1.x] Fixed #34058 -- Changed sequence types when altering pre-Django 4.1 auto fields on PostgreSQL.
Thanks Anders Kaseorg for the report.

Thanks Florian Apolloner for pair programming.

Regression in 2eea361eff.
Backport of 19e6efa50b from main
2022-09-29 13:20:55 +02:00
Chris Wedgwood
7607fc8990 [4.1.x] Fixed #33026 -- Mentioned RequestFactory in testing tools docs.
Backport of 468d061097 from main
2022-09-29 06:00:56 +02:00
Adam Johnson
b826b38847 [4.1.x] Refs #34010 -- Made --debug-mode work for parallel tests using spawn.
Bug in 3b3f38b3b0.

Thanks Kevin Renskers for the report.

Backport of 0f5b11eca0 from main
2022-09-28 20:40:23 +02:00
Adam Johnson
5630a6ca29 [4.1.x] Fixed #34010 -- Made parallel tests using spawn set up Django.
Bug in 3b3f38b3b0.

Thanks Kevin Renskers for the report.

Backport of 4a910f3de3 from main
2022-09-28 20:40:12 +02:00
David Sanders
33d9247c8b [4.1.x] Fixed #34025 -- Fixed selecting ModelAdmin.autocomplete_fields after adding/changing related instances via popups.
Regression in c72f6f36c1.

Thanks Alexandre da Silva for the report.

Backport of 9976f3d4b8 from main
2022-09-28 12:54:48 +02:00
Mariusz Felisiak
4f7fc378a1 [4.1.x] Changed note about update_fields and pre_save() to admonition.
Follow up to bf47c71971.
Backport of 5d36a8266c from main
2022-09-28 09:27:14 +02:00
sarahboyce
ba4141b8bc [4.1.x] Doc'd when pre_save() is called with Model.save()'s update_fields.
Backport of bf47c71971 from main
2022-09-27 14:11:04 +02:00
Carlton Gibson
fba7962bac [4.1.x] Set date and added stub notes for 4.1.2, 4.0.8, and 3.2.16 releases.
Backport of c2bc71b635 and
f08651c06c from main.
2022-09-27 10:11:25 +02:00
Jacob Walls
e151df24ae [4.1.x] Fixed typo in docs/releases/3.2.1.txt.
Backport of cfe3008123 from main
2022-09-19 05:19:45 +02:00