1
0
mirror of https://github.com/django/django.git synced 2024-12-27 03:25:58 +00:00
Commit Graph

31586 Commits

Author SHA1 Message Date
Marcelo Galigniana
f474ba4cb5 [4.2.x] Fixed #34309 -- Doc'd how to fully delete an app.
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
Co-authored-by: shangxiao <shang.xiao.sanders@gmail.com>
Co-authored-by: sarahboyce <42296566+sarahboyce@users.noreply.github.com>
Co-authored-by: felixxm <felisiak.mariusz@gmail.com>

Backport of 2ddfa3e2b6 from main
2023-07-11 11:45:37 +02:00
Jon Ribbens
e54f711d42 [4.2.x] Fixed #33405, Refs #7177 -- Clarified docs for filter escapejs regarding safe and unsafe usages.
Backport of adfb3dfa89 from main
2023-07-03 13:55:31 +02:00
Mariusz Felisiak
047844270b [4.2.x] Added stub release notes for 4.2.4.
Backport of 393b8324b3 from main
2023-07-03 10:38:20 +02:00
Mariusz Felisiak
9549819d37 [4.2.x] Added CVE-2023-36053 to security archive.
Backport of 1d6fbf16f2 from main
2023-07-03 10:26:42 +02:00
Mariusz Felisiak
82fbaa7954 [4.2.x] Post-release version bump. 2023-07-03 08:25:52 +02:00
Mariusz Felisiak
1651351386 [4.2.x] Bumped version for 4.2.3 release. 2023-07-03 08:21:07 +02:00
Mariusz Felisiak
b7c5feb35a [4.2.x] Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and URLValidator.
Thanks Seokchan Yoon for reports.
2023-07-03 08:19:23 +02:00
Cerebro Cerberus
1ea11365f6 [4.2.x] Fixed typo in docs/intro/tutorial08.txt.
Backport of 6fbe5287ac from main
2023-06-28 07:10:04 +02:00
nessita
7b45fe01ab [4.2.x] Added dedicated section for output_field in query expressions docs.
Backport of 6799288342 from main
2023-06-27 15:14:13 -03:00
Mariusz Felisiak
67fe092a85 [4.2.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of c4a09499aa from main
2023-06-27 12:54:46 +02:00
Mariusz Felisiak
9ab56e64de [4.2.x] Added stub release notes and release date for 4.2.3, 4.1.10, and 3.2.20.
Backport of 2360ba2274 from main
2023-06-26 14:36:06 +02:00
Mariusz Felisiak
a18e0f44d5 [4.2.x] Corrected admin.E013 check message in docs.
Backport of ddb6506618 from main
2023-06-20 12:59:48 +02:00
Ashwin Dharne
fabd0510a0 [4.2.x] Fixed typo in docs/topics/db/fixtures.txt.
Backport of 5762b839ff from main
2023-06-16 19:34:32 +02:00
Mariusz Felisiak
4b433ef236 [4.2.x] Refs #30220 -- Bumped required version of Selenium to 3.8.0.
Follow up to 8d010f3986.
Backport of 06881341d4 from main
2023-06-13 10:13:15 +02:00
Neeraj Kumar
9e9a286bed [4.2.x] Fixed #34638 -- Fixed admin change list selected row highlight on editable boolean fields.
Regression in 0aa2f16e63.

Thanks Andrei Shabanski for the report.

Backport of 1d9d32389c from main.
2023-06-11 19:28:50 +02:00
Mariusz Felisiak
31d1fc36b3 [4.2.x] Fixed #34645 -- Restored alignment for admin date/time timezone warnings.
Regression in 96a598356a.
Backport of caf80cb41f from main
2023-06-09 21:37:50 +02:00
Akash Kumar Sen
eb84c068ed [4.2.x] Fixed #30355 -- Doc'd interaction between custom managers and prefetch_related().
Backport of 5f2308710b from main
2023-06-07 19:32:18 +02:00
nessita
b2355a8df3 [4.2.x] Added stub release notes for 4.2.3.
Backport of e26d1a91d7 from main
2023-06-05 14:59:06 -03:00
Natalia
10de214055 [4.2.x] Post-release version bump. 2023-06-05 13:21:43 -03:00
Natalia
6218ed3454 [4.2.x] Bumped version for 4.2.2 release. 2023-06-05 08:31:58 -03:00
Natalia
e84d38ab36 [4.2.x] Added release date for 4.2.2.
Backport of 0faad01938 from main
2023-06-05 08:26:28 -03:00
Mariusz Felisiak
87a4cd559b [4.2.x] Fixed #34620 -- Fixed serialization crash on m2m fields without natural keys when base querysets use select_related().
Regression in 19e0587ee5.

Thanks Martin Svoboda for the report.
Backport of f9936deed1 from main
2023-06-04 20:49:40 +02:00
Mariusz Felisiak
66d9fa4371 [4.2.x] Refs #23528 -- Made cosmetic edits to swappable_dependency() docs.
Backport of 1136aa5005 from main
2023-06-03 12:02:08 +02:00
DevilsAutumn
92ad551afd [4.2.x] Fixed #23528 -- Doc'd django.db.migrations.swappable_dependency().
Backport of 7d96ce68ae from main
2023-06-02 21:47:33 +02:00
Simon Charette
738386470d [4.2.x] Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.
Regression in b3db6c8dcb.

Thanks Ian Cubitt for the report.

This also corrected test_inheritance_deferred2() test which was
previously properly defined and marked as an expected failure but was
then wrongly adjusted to mask the lack of support for per-alias
deferral that was fixed by #21204.

Backport of 2cf76f2d5d from main
2023-06-01 20:27:06 +01:00
AP Jama
dae052d823 [4.2.x] Fixed #34595 -- Doc'd that format_string arg of format_html() is not escaped.
Backport of 4037223d0f from main
2023-06-01 13:10:45 +01:00
Akash Kumar Sen
dca5f5d58a [4.2.x] Fixed #34600 -- Removed references to bleach in docs.
Backport of b0a6cc7f57 from main
2023-05-31 10:23:37 +01:00
Natalia
25bd9faf32 [4.2.x] Fixed #34574 -- Noted unexpected outcomes in autoescape/escape docs.
Backport of 1a59a324ce from main.
2023-05-26 07:50:19 +02:00
David Sanders
91f8df5c2e [4.2.x] Fixed #34590 -- Reverted "Refs #33308 -- Improved adapting DecimalField values to decimal."
This reverts 7990d254b0.

Thanks Marc Odermatt for the report.
Backport of 0c1518ee42 from main
2023-05-24 11:00:21 +02:00
Stefan Brand
a44e974412 [4.2.x] Corrected documentation of Log database function.
Backport of eb9df03a43 from main
2023-05-24 05:30:43 +02:00
Mariusz Felisiak
bf5249fc8e [4.2.x] Refs #34118 -- Fixed FunctionalTests.test_cached_property_reuse_different_names() on Python 3.12+.
Python 3.12+ no longer wraps exceptions in __set_name__, see
55c99d97e1
Backport of fc9c90d9c4 from main
2023-05-23 12:58:32 +02:00
Simon Charette
c78a4421de [4.2.x] Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing subqueries.
Regression in 59bea9efd2.

Refs #28477.

Thanks Denis Roldán and Mariusz for the test.

Backport of e5c844d6f2 from main
2023-05-23 07:39:24 +02:00
Simon Charette
57f499e412 [4.2.x] Refs #34551 -- Fixed QuerySet.aggregate() crash on precending aggregation reference.
Regression in 1297c0d0d7.

Refs #31679.

Backport of 2ee01747c3 from main
2023-05-23 07:39:18 +02:00
Mohit Singh Sinsniwal
b4563cdd23 [4.2.x] Fixed #34579 -- Added Django Forum to contributing guides.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 89f10a80d7 from main
2023-05-23 06:00:02 +02:00
Sarah Boyce
37ba4c3a94 [4.2.x] Fixed references to django.core.cache in docs.
Backport of c3862735cd from main
2023-05-22 14:02:28 +02:00
gtleee
6b76481fb9 [4.2.x] Fixed #34588 -- Removed usage of nonexistent stylesheet in the 'Congrats' page.
Regression in d46cc15c51.

Backport of 0a324f1b66 from main
2023-05-22 11:52:03 +02:00
Simon Charette
e1c00f8b36 [4.2.x] Fixed #34580 -- Avoided unnecessary computation of selected expressions in SQLCompiler.
Performance regression in 278881e376.

Co-authored-by: David Smith <smithdc@gmail.com>

Backport of 98f6ada0e2 from main
2023-05-22 07:57:05 +02:00
Mariusz Felisiak
cdd970ae22 [4.2.x] Fixed #34568 -- Made makemigrations --update respect --name option.
Thanks David Sanders for the report.
Backport of c52f4295f2 from main
2023-05-17 13:15:30 +02:00
Mariusz Felisiak
2b5c5e54de [4.2.x] Updated broken links in docs.
Backport of 93830abf76 from main
2023-05-17 12:13:40 +02:00
Simon Charette
201d29b371 [4.2.x] Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.
While deferring many-to-many and GFK has no effect, the previous
implementation of QuerySet.defer() ignore them instead of crashing.

Regression in b3db6c8dcb.

Thanks Paco Martínez for the report.

Backport of 99e5dff737 from main
2023-05-17 08:39:44 +02:00
Julie Rymer
9c301814b0 [4.2.x] Fixed #34539 -- Restored get_prep_value() call when adapting JSONFields.
Regression in 5c23d9f0c3.

Backport of 0ec60661e6 from main
2023-05-16 11:02:33 +02:00
Alexerson
ddccecee91 [4.2.x] Fixed #34556 -- Doc'd that StreamingHttpResponse accepts memoryviews and strings iterators.
Backport of 599f3e2cda from main
2023-05-12 10:36:03 -03:00
Alberto Sottile
dbe263751c [4.2.x] Clarified database connections lifetime outside HTTP requests.
Backport of e901407e23 from main
2023-05-12 08:10:51 -03:00
nessita
e50fe33e13 [4.2.x] Made explicit the location of locally-built HTML docs.
Backport of 2b11740e1d from main
2023-05-11 07:56:53 -03:00
Mariusz Felisiak
e0d8981139 [4.2.x] Fixed #34544 -- Avoided DBMS_LOB.SUBSTR() wrapping with IS NULL condition on Oracle.
Regression in 09ffc5c121.

Thanks Michael Smith for the report.

This also reverts commit 1e4da43955.
Backport of 1586a09b79 from main
2023-05-08 19:35:20 +02:00
Akash Kumar Sen
dc3b8190ed [4.2.x] Fixed #34545 -- Corrected the number of months in installation FAQ.
Backport of aaf8c76c56 from main
2023-05-08 08:34:47 +02:00
Pan Dango
bcf66f1355 [4.2.x] Corrected code-block directive in docs/ref/templates/builtins.txt.
Backport of 12ec80726f from main
2023-05-07 14:52:16 +02:00
Jannis Vajen
4eaed191b6 [4.2.x] Corrected code-block directives in docs.
Backport of 024954aad4 from main
2023-05-04 19:34:19 +02:00
Mariusz Felisiak
9ec1ff7879 [4.2.x] Fixed MultipleFileFieldTest.test_file_multiple_validation() test if Pillow isn't installed.
Follow up to fb4c55d9ec.
Backport of fcfbf08abe from main
2023-05-04 08:09:27 +02:00
Mariusz Felisiak
2756c69601 [4.2.x] Added CVE-2023-31047 to security archive.
Backport of 49830025c9 from main
2023-05-03 15:21:47 +02:00