1
0
mirror of https://github.com/django/django.git synced 2025-04-23 08:44:36 +00:00

30794 Commits

Author SHA1 Message Date
Ankur
5197014eff [4.1.x] Fixed #33784 -- Removed unnecessary format escaping in admin calendar widget.
Replacements were added in fa0653cd1d791a8bce835e8992cbeab6fd70d0e7
where we created a callback function by concatenating strings. It's
unnecessary since d638cdc42acec608c1967f44af6be32a477c239f.

Backport of d19a53d8e3640e8f937048bf7826c7e2229a9665 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 3ef37a5245015f69a9b9f884ebc289a35d02c5f6 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 f4680a112d01d85540411673eade31f37712d0a6 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 2a2bde52f31e09e95ce616e8e6bc0ffeb68f76c9 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 860643e12e043d7b0b0c10ebe29d6ada017d95d7 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 ef9121f3e6f62060d2904fb1811dbe7d74834686 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 de1c8320cedee5d4f91b153a7fe82eb63876470f 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 d0863429a39dbc99a52a6d781006e7075c743d33 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 61badf1d58e79b84874afa6a1e00b79f20e786d1 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 798b6c23ee52c675dd0f0e233c50cddd7ff15657 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 d5bc36203057627f6f7d0c6dc97b31adde6f4313 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 40bf34a92fe5e876197df161e13eca3902b8878c 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 565ad5ace46aa1e2368450701cba45dd1a95a026 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 93cedc82f29076c824d476354527af1150888e4f 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 ebf25555bbed3e9112d4b726575d60b242daf48a 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 441103a04d1d167dc870eaaf90e3fba974f67c93.

Backport of f1e0fc645bb0b2c15d1510c9a8501743297dec9d 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 659d2421c7adbbcd205604002d521d82d6b0b465.

Backport of 292f372768836e2aebc713064c5139e8067eebcb 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 8c0886b068ba4e224dd78104b93c9638b860b398 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 7e4656e4b2189390a433a149091442d53a777e2b 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 b949e40e8c32a393f480399e2d70b653108098b6 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 115a978fceac4c4de2f9fc70ce19001c3f6d6918 from main
2022-05-26 09:07:23 +02:00
Hasan Ramezani
44e754fc83 [4.1.x] Unified AdminSite imports in docs.
Backport of ce69e34bd646558bb44ea92cecfd98b345a0b3e0 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 1ea7e3157d1f9b4db71e768d75ea57e47dbd49f9.
Backport of 90aabd730a2a434c227faf8a927b0e2ccd67e291 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 90dcf271147693a8897f644c4c8943c5b73c02f8 and
2ccc0b22db6730ba0950b10bbc5238ae575e4a45.
Backport of 1733c888f4928e91889e4ae5baf6badbd073e08c 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 d915dd1c5809d7c2bb3679751cd5277571dcd9f7.

Follow up to 780473d75625d014cbe9b0acdea40b7a5970d5d8.

Backport of 90dcf271147693a8897f644c4c8943c5b73c02f8 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 78bf1565c37d0eef2ff9dd72a2cead0b772b2444 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 1be9585d73c50df733eb4d1484651bb8548a1205 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 09341856ed9008875c1cc883dc0c287670131458.

Backport of 0dd29209091280ccf34e07c9468746c396b7778e 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 e89f9571352f42c7752b351ba1e651485e5e7c51 from main
2022-05-19 10:39:14 +02:00
Mariusz Felisiak
2dd646e935 [4.1.x] Fixed #33719 -- Fixed test command crash when running in parallel.
Thanks Pēteris Caune for the report.

Regression in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc.
Backport of 41c4cb253c137edf5a96b7408ea55d57d6e0602a from main
2022-05-19 10:21:39 +02:00
David Wobrock
820b4e565a [4.1.x] Fixed #33705 -- Fixed crash when using IsNull() lookup in filters.
Thanks Florian Apolloner for the report.
Thanks Simon Charette for the review.

Backport of 9f5548952906c6ea97200c016734b4f519520a64 from main
2022-05-19 07:52:44 +02:00
Simon Willison
aa3197e5f1 [4.1.x] Refs #33646 -- Fixed link markup in queries topic doc.
Backport of 4525d689e9ad4667e1798004c25053966c73c2d2 from main
2022-05-18 17:41:34 +02:00
Joachim Jablon
daf83303d1 [4.1.x] Refs #30581 -- Updated count of steps in model validation docs.
Follow-up to 667105877e6723c6985399803a364848891513cc.

Backport of ce7321932d07b7bf9e6be77b9865c5058d9c1e4d from main
2022-05-18 11:39:06 +02:00
Carlton Gibson
ac6410ec07 [4.1.x] Bumped version for 4.1 alpha 1 release. 4.1a1 2022-05-17 15:05:44 +02:00
Mariusz Felisiak
fad2e59808 [4.1.x] Refs #33379 -- Fixed minimum supported version of MariaDB.
Backport of 2cec020f5bc462954d902bdad1a5955852cecff6 from main
2022-05-17 15:00:12 +02:00
Mariusz Felisiak
d1f1a0168a [4.1.x] Updated source translation catalogs. 2022-05-17 14:13:35 +02:00
Carlton Gibson
2a5cfe8a2c [4.1.x] Bumped django_next_version in docs config. 2022-05-17 12:12:54 +02:00
Carlton Gibson
5325a6344c Updated man page for Django 4.1 alpha. 2022-05-17 11:21:08 +02:00
Carlton Gibson
d6e3756946 Removed empty sections from 4.1 release notes. 2022-05-17 11:21:08 +02:00
David Smith
d126eba363 Refs #32339 -- Deprecated default.html form template.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-05-17 11:16:54 +02:00
Alokik Vijay
6af8673255 Update docs/releases/4.1.txt
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-05-17 10:50:09 +02:00
Alokik Vijay
7f3cfaa12b Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs.
Moved the functionality of URLResolver._is_callback(),
URLResolver._callback_strs, URLPattern.lookup_str() to
django.contrib.admindocs.
2022-05-17 10:50:09 +02:00
Collin Anderson
2a5d2eefc7 Fixed #33683 -- Document HttpResponseBase and allow import from django.http 2022-05-17 09:51:16 +02:00
David Wobrock
97f124f39e Refs #27064 -- Made migrations generate RenameIndex operations when moving indexes from index_together to Meta.indexes. 2022-05-17 07:21:36 +02:00
David Wobrock
a098cde968 Refs #27064 -- Refactored out MigrationAutodetector.create_renamed_fields(). 2022-05-17 06:20:01 +02:00
David Wobrock
c6cec3c2d2 Refs #27064 -- Made migrations generate RenameIndex operations when renaming Meta.indexes. 2022-05-16 17:46:24 +02:00
David Wobrock
11310e9abb Fixed #33710 -- Made RenameIndex operation a noop when the old and new name match. 2022-05-16 10:36:56 +02:00
Mariusz Felisiak
647480166b
Refs #33685 -- Doc'd that using PostgreSQL's service names for testing purposes is not supported. 2022-05-16 09:32:40 +02:00
Marcelo Galigniana
76af861356 Fixed #27550 -- Allowed GEOSGeometry.normalize() to return a normalized clone. 2022-05-16 06:46:53 +02:00
Mariusz Felisiak
d27e6b233f
Fixed #33681 -- Made Redis client pass CACHES["OPTIONS"] to a connection pool.
Thanks Ben Picolo for the report.
2022-05-16 06:17:40 +02:00