1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00
Commit Graph

30815 Commits

Author SHA1 Message Date
Shawn Dong
675d2239ce [4.1.x] Fixed #33822 -- Fixed save() crash on model formsets when not created by modelformset_factory().
Thanks Claude Paroz for the report.

Regression in e87f57fdb8.

Backport of 18c5ba07cc from main
2022-07-05 08:18:09 +02:00
Mariusz Felisiak
ee79219f1b [4.1.x] Added CVE-2022-34265 to security archive.
Backport of d12d7c4c42 from main
2022-07-04 10:33:26 +02:00
Mariusz Felisiak
38c2bdba35 [4.1.x] Added stub release notes for 4.0.7.
Backport of c6932ea2ea from main
2022-07-04 10:33:18 +02:00
Mariusz Felisiak
284b188a41 [4.1.x] Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) against SQL injection.
Thanks Takuto Yoshikai (Aeye Security Lab) for the report.
2022-07-04 08:26:02 +02:00
Aristotelis Mikropoulos
501a3e6727 [4.1.x] Fixed typo in docs/topics/signals.txt.
Backport of 5eb6a2b33d from main
2022-07-02 16:46:49 +02:00
Mariusz Felisiak
1757eda3a8 [4.1.x] Fixed GEOSTest.test_emptyCollections() on GEOS 3.8.0.
It's a regression in GEOS 3.8.0 fixed in GEOS 3.8.1.
Backport of 863aa7541d from main
2022-07-01 19:06:14 +02:00
Arslan Noor
33601df44e [4.1.x] Corrected various typos in contributing docs.
Backport of 5c93a84f44 from main
2022-06-30 11:09:51 +02:00
Pablo Montepagano
72358f0110 [4.1.x] Fixed #32749 -- Doc'd PyMemcacheCache defaults.
Backport of bb2c5f69f4 from main
2022-06-28 21:58:08 +02:00
Hrushikesh Vaidya
e40b77365f [4.1.x] Refs #33779 -- Doc'd django.utils.html.json_script().
Backport of 0ee03a439b from main
2022-06-28 11:35:41 +02:00
Christopher Adams
aed1a73e0a [4.1.x] Fixed #33422 -- Improved docs about isolating apps.
Backport of 90d2f9f416 from main
2022-06-27 20:53:06 +02:00
Mariusz Felisiak
6c0ee61797 [4.1.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.

Backport of ac90529cc5 from main
2022-06-27 07:44:27 +02:00
Mariusz Felisiak
d783ce3d8d [4.1.x] Added stub release notes and release date for 4.0.6 and 3.2.14.
Backport of b2eff16806 from main
2022-06-27 07:16:51 +02:00
Mariusz Felisiak
d38cd2677e [4.1.x] Fixed #33796 -- Fixed ordered combined queryset crash when used in subquery on PostgreSQL and MySQL.
Thanks Shai Berger for the report.

Regression in 30a0144134.

Backport of 44ffd8d06f from main
2022-06-27 06:22:37 +02:00
Ian Wootten
2026314b20 [4.1.x] Fixed #33804 -- Corrected GinIndex.gin_pending_list_limit description in docs.
Backport of 6f63e0ce8e from main
2022-06-24 14:54:06 +02:00
Mariusz Felisiak
b37a4affcd [4.1.x] Fixed #33800 -- Fixed system check for the same template tag module in installed apps and template tag libraries.
Thanks Claude Paroz for the report.

Regression in 004b4620f6.
Backport of 083bfca6b6 from main
2022-06-23 20:24:24 +02:00
DhruvaPatil98
531c96de34 [4.1.x] Fixed #33799, Refs #31685 -- Added parameters for updating conflicts to QuerySeta.abulk_create().
Backport of c627226d05 from main
2022-06-23 12:16:41 +02:00
Carlton Gibson
0204dc951c [4.1.x] Bumped version for 4.1 beta 1. 4.1b1 2022-06-21 11:15:01 +02:00
Claude Paroz
42e4b0e608 [4.1.x] Fixed #33794 -- Fixed string-casting of GIS queries on PostgreSQL.
Regression in 64c3f049ea.

Backport of de74a74b4b from main
2022-06-21 10:32:34 +02:00
Mariusz Felisiak
91b365ef67 [4.1.x] Fixed #33789 -- Doc'd changes in quoting table/column names on Oracle in Django 4.0.
Thanks Paul in 't Hout for the report.

Regression in 1f643c28b5.
Backport of a0608c4b11 from main
2022-06-21 09:10:43 +02:00
Abhinav Yadav
99e5ce96c6 [4.1.x] Fixed #33657 -- Allowed customizing formatter class of argument parsers.
Backport of 2887b9f67c from main
2022-06-20 17:35:35 +02:00
Zainab Amir
f741dd5fab [4.1.x] Fixed #23689 -- Made parsing HTTP Accept-Language header case-insensitive.
Thank you Daniel Samuels for test project.

Backport of 901a169198 from main
2022-06-20 08:41:17 +02:00
Ankur
5197014eff [4.1.x] Fixed #33784 -- Removed unnecessary format escaping in admin calendar widget.
Replacements were added in fa0653cd1d
where we created a callback function by concatenating strings. It's
unnecessary since d638cdc42a.

Backport of d19a53d8e3 from main
2022-06-18 22:28:54 +02:00
David Wobrock
d44dc31fcb [4.1.x] Fixed #28897 -- Fixed QuerySet.update() on querysets ordered by annotations.
Backport of 3ef37a5245 from main
2022-06-17 11:13:05 +02:00
David Wobrock
ccb243847e [4.1.x] Refs #28897 -- Added test for QuerySet.update() on querysets ordered by inline m2m annotation.
Backport of f4680a112d from main
2022-06-17 11:12:59 +02:00
Carlton Gibson
0fb02522f9 [4.1.x] Updated asgiref dependency for 4.1 release series.
Backport of 2a2bde52f3 from main
2022-06-16 12:17:15 +02:00
Sfurti-yb
eaf9885392 [4.1.x] Added YugabyteDB to list of third-party DB backends.
Backport of 860643e12e from main
2022-06-16 08:58:56 +02:00
Grammy Jiang
3b332c6077 [4.1.x] Updated OWASP Top 10 link in security topic.
Backport of ef9121f3e6 from main
2022-06-16 06:35:52 +02:00
Bruce Cutler
a7f398ae59 [4.1.x] Fixed #33773 -- Made Index with multiple fields respect DEFAULT_INDEX_TABLESPACE.
Thanks to Simon Charette for locating where issue lay.

Backport of de1c8320ce from main
2022-06-13 08:49:35 +02:00
Swann
9d8b694205 [4.1.x] Fixed documentation of Widget.id_for_label() empty return value.
Backport of d0863429a3 from main
2022-06-03 20:01:16 +02:00
Tim Graham
566437adc9 [4.1.x] Fixed #33757 -- Clarified Client.post() file upload example.
Backport of 61badf1d58 from main
2022-06-02 19:04:18 +02:00
David Wobrock
9fce76a237 [4.1.x] Fixed #31788 -- Fixed migration optimization after altering field to ManyToManyField.
This makes AddField() used for altering to ManyToManyField, dependent
on the prior RemoveField.
Backport of 798b6c23ee from main
2022-06-02 12:11:06 +02:00
Carlton Gibson
0fb0355271 [4.1.x] Added stub release notes for 4.0.6.
Backport of d5bc362030 from main
2022-06-01 14:40:30 +02:00
Carlton Gibson
b73abed2ea [4.1.x] Updated release date for Django 4.0.5.
Backport of 40bf34a92f from main
2022-06-01 12:26:21 +02:00
Mariusz Felisiak
007a21b576 [4.1.x] Fixed #33753 -- Fixed docs build on Sphinx 5+.
Empty language is not supported anymore.
Backport of 565ad5ace4 from main
2022-06-01 12:13:38 +02:00
Mehrdad
2f974e3c1e [4.1.x] Refs #33697 -- Fixed multipart parsing of headers with double quotes and semicolons.
See 1ef0c0349e

Backport of 93cedc82f2 from main
2022-06-01 10:38:59 +02:00
Mariusz Felisiak
962d594742 [4.1.x] Bumped minimum Sphinx version to 4.5.0.
Related Sphinx changes:
- https://github.com/sphinx-doc/sphinx/pull/8898
- https://github.com/sphinx-doc/sphinx/issues/8326
Backport of ebf25555bb from main
2022-05-31 15:24:10 +02:00
Jonas Lundberg
6df6c1b970 [4.1.x] Fixed #33754 -- Fixed crash with prematurely closed ASGI request body.
Regression in 441103a04d.

Backport of f1e0fc645b from main
2022-05-31 09:35:20 +02:00
Claude Paroz
000e8e0d38 [4.1.x] Fixed #33748 -- Fixed date template filter crash with lazy format.
Regression in 659d2421c7.

Backport of 292f372768 from main
2022-05-31 07:03:53 +02:00
Marcelo Galigniana
0210dbcbe3 [4.1.x] Fixed #22078 -- Fixed crash of Feed with decorated methods.
Backport of 8c0886b068 from main.
2022-05-26 11:13:42 +02:00
Marcelo Galigniana
9d3b812001 [4.1.x] Refs #22078 -- Added syndication test for feeds with static methods.
Backport of 7e4656e4b2 from main.
2022-05-26 11:10:33 +02:00
David Wobrock
ae7aecc93e [4.1.x] Fixed #23740 -- Fixed removing unique_together constraint if exists primary key/unique constraint on the same field.
Backport of b949e40e8c from main
2022-05-26 09:07:26 +02:00
David Wobrock
176d5ec242 [4.1.x] Refs #23740 -- Added BaseDatabaseSchemaEditor._unique_constraint_name().
Backport of 115a978fce from main
2022-05-26 09:07:23 +02:00
Hasan Ramezani
44e754fc83 [4.1.x] Unified AdminSite imports in docs.
Backport of ce69e34bd6 from main
2022-05-25 13:14:05 +02:00
Mariusz Felisiak
3d4bab28de [4.1.x] Fixed #33724 -- Doc'd exclude argument changes in model validation.
Thanks אורי for the report.

Follow up to 1ea7e3157d.
Backport of 90aabd730a from main
2022-05-24 10:03:19 +02:00
Mariusz Felisiak
9fc56af0fb [4.1.x] Refs #33725 -- Replaced deprecated find_element_by_css_selector() with find_elements(By.CSS_SELECTOR, …).
Follow up to 90dcf27114 and
2ccc0b22db.
Backport of 1733c888f4 from main
2022-05-23 06:07:28 +02:00
Sankalp
170793f0b0 [4.1.x] Fixed #33725 -- Made hidden quick filter in admin's navigation sidebar not focusable.
Regression in d915dd1c58.

Follow up to 780473d756.

Backport of 90dcf27114 from main
2022-05-21 14:36:02 +02:00
Mohammed Y. Alnajdi
51de294d77 [4.1.x] Fixed #33727 -- Fixed color contrasts in admin header.
Backport of 78bf1565c3 from main
2022-05-21 13:13:31 +02:00
Burak Kadir Er
701d78c95c [4.1.x] Fixed #33721 -- Added DE-9IM link in GEOS docs.
Backport of 1be9585d73 from main
2022-05-20 16:47:40 +02:00
cheng
731bb6479e [4.1.x] Fixed #33653 -- Fixed template crash when calling methods for built-in types without required arguments.
Regression in 09341856ed.

Backport of 0dd2920909 from main
2022-05-20 08:41:16 +02:00
Tom Sparrow
33552c7a13 [4.1.x] Removed unnecessary semicolons in docs about performing raw SQL.
Backport of e89f957135 from main
2022-05-19 10:39:14 +02:00