Commit Graph

29265 Commits

Author SHA1 Message Date
Jonathan Richards d0267690f8 [3.2.x] Fixed #32548 -- Fixed crash when combining Q() objects with boolean expressions.
Backport of 00b0786de5 from main.

Regression in 466920f6d7.
2021-04-14 19:46:45 +02:00
Arthur Jovart 65dfb06a1a [3.2.x] Fixed #32648 -- Fixed VariableDoesNotExist rendering sitemaps template.
Backport of 08c60cce3b from main
2021-04-14 19:44:10 +02:00
Mariusz Felisiak 59cce8237c [3.2.x] Fixed #32649 -- Fixed ModelAdmin.search_fields crash when searching against phrases with unbalanced quotes.
Thanks Dlis for the report.

Regression in 26a413507a.
Backport of 23fa29f6a6 from main
2021-04-14 12:24:11 +02:00
Hasan Ramezani 700356f93b [3.2.x] Fixed #32635 -- Fixed system check crash for reverse o2o relations in CheckConstraint.check and UniqueConstraint.condition.
Regression in b7b7df5fbc.

Thanks Szymon Zmilczak for the report.

Backport of a77c9a4229 from main
2021-04-14 10:32:07 +02:00
Mariusz Felisiak d6314c4c2e [3.2.x] Fixed #32637 -- Restored exception message on technical 404 debug page.
Thanks Atul Varma for the report.
Backport of 3b8527e32b from main
2021-04-13 09:15:25 +02:00
Iuri de Silvio b245845575 [3.2.x] Fixed #32627 -- Fixed QuerySet.values()/values_list() crash on combined querysets ordered by unannotated columns.
Backport of 9760e262f8 from main
2021-04-13 06:16:19 +02:00
Carlton Gibson 98db3c76fc [3.2.x] Bumped django_next_version in docs config. 2021-04-10 19:06:18 +02:00
Hasan Ramezani 078bcd587d [3.2.x] Fixed #32618 -- Added link to conditional aggregation in aggregation topic guide.
Backport of 1351f2ee16 from main
2021-04-09 21:35:43 +02:00
Hasan Ramezani 0abbdc8ef6 [3.2.x] Fixed #32535 -- Added note about DEBUG_PROPAGATE_EXCEPTIONS setting to middleware docs.
Backport of fc268c8648 from main
2021-04-09 10:48:10 +02:00
Adam Johnson 49e618f4af [3.2.x] Fixed #32620 -- Allowed subclasses of Big/SmallAutoField for DEFAULT_AUTO_FIELD.
Backport of 45a58c31e6 from main
2021-04-08 13:44:21 +02:00
Carlton Gibson 55da04488e [3.2.x] Corrected release number format in 3.2.1 release notes.
Backport of 3f2920ae1d from main
2021-04-07 19:45:29 +02:00
Claude Paroz 5eb17d31c3 [3.2.x] Fixed #32544 -- Confirmed support for GDAL 3.2 and GEOS 3.9.
Backport of e3cfba0029 from main.
2021-04-07 17:04:10 +02:00
Carlton Gibson a3a4a0baa3 [3.2.x] Corrected wrapping in 3.2 release notes.
Partially reverts 0802b404a2.
Backport of 5b05a45c62 from main
2021-04-07 07:28:09 +02:00
Mariusz Felisiak 42fea5d5b8 [3.2.x] Refs #30156 -- Corrected version in SpatiaLite install instructions.
Backport of da542ccab6 from main
2021-04-06 12:45:15 +02:00
Carlton Gibson 2e8ff5f902 [3.2.x] Added stub release notes for Django 3.2.1.
Backport of df0a9e6d5c from main
2021-04-06 11:50:23 +02:00
Carlton Gibson f0630e76d3 [3.2.x] Post-release version bump. 2021-04-06 11:32:07 +02:00
Carlton Gibson b6475d7d79 [3.2.x] Bumped version for 3.2 release. 2021-04-06 11:27:22 +02:00
Carlton Gibson 8df29fc733 [3.2.x] Added release date for Django 3.2.
Adjusted wrapping in release notes where needed.

Backport of 0802b404a2 from main
2021-04-06 11:21:32 +02:00
Carlton Gibson 09c0b1a8fc [3.2.x] Updated manpage for Django 3.2 final. 2021-04-06 11:02:06 +02:00
Carlton Gibson 011b92ce98 [3.2.x] Updated asgiref dependency for 3.2 release series.
Backport of 5aea50e57f from main
2021-04-06 10:43:40 +02:00
Mariusz Felisiak 29e2df24e7 [3.2.x] Added CVE-2021-28658 to security archive.
Backport of 1eac8468cb from main
2021-04-06 09:45:23 +02:00
Mariusz Felisiak 2820fd1be5 [3.2.x] Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files.
Thanks Claude Paroz for the initial patch.
Thanks Dennis Brinkrolf for the report.

Backport of d4d800ca1a from main.
2021-04-06 08:24:01 +02:00
Mariusz Felisiak eb7c0a7076 [3.2.x] Fixed #32614 -- Fixed MiddlewareSyncAsyncTests tests with asgiref 3.3.2+.
Backport of 78fea27f69 from main
2021-04-06 08:04:07 +02:00
Claude Paroz 1ea5e98315
[3.2.x] Updated translations from Transifex. 2021-04-06 06:17:47 +02:00
William Schwartz a118564ae1 [3.2.x] Refs #32105 -- Moved ExceptionReporter template paths to properties.
Refs #32316.

Backport of 7248afe12f from main
2021-03-31 09:11:39 +02:00
Mariusz Felisiak d67d48e923 [3.2.x] Fixed #32595 -- Fixed SchemaEditor.quote_value() crash with bytes.
Backport of f6018c1e63 from main
2021-03-30 11:47:49 +02:00
Mariusz Felisiak 682eba534f [3.2.x] Refs #32595 -- Added MySQL's SchemaEditor.quote_value() tests for values with Unicode chars.
Backport of 3c75f1f3ca from main
2021-03-30 11:47:41 +02:00
arcanemachine 1f48d38c69 [3.2.x] Removed dead link in docs/topics/http/sessions.txt.
Backport of 4a80d0f220 from main
2021-03-30 06:42:12 +02:00
John 57d456319d [3.2.x] Added missing mode="rb" argument to open() call in Client.post() example in docs.
Backport of 509d266c6a from main
2021-03-26 08:05:22 +01:00
sreehari1997 5ebb8e65df [3.2.x] Fixed #32580 -- Doc'd that HttpRequest.get_host() may raise DisallowedHost.
Backport of 0860db225a from main
2021-03-26 08:03:59 +01:00
Claude Paroz 3eb72ad30f [3.2.x] Refs #31003 -- Moved note about return value of QuerySet.bulk_create() to the first paragraph.
Backport of cac9ec73db from main.
2021-03-25 20:35:40 +01:00
Simon Willison 601ceddf79 [3.2.x] Doc'd that RawSQL can be used with __in.
Backport of e53159747c from main
2021-03-25 10:33:16 +01:00
Jannis Vajen e7ce304125 [3.2.x] Fixed page numbers in Paginator.get_elided_page_range() example in docs.
Backport of 4894a97578 from main
2021-03-24 07:35:55 +01:00
Mariusz Felisiak e2e371593f [3.2.x] Refs #32353, Refs #32352 -- Fixed GIS tests with PROJ 7.X.
Different PROJ versions use different transformations, all are correct
as having a 1 meter accuracy.

These are differences in PROJ versions that cannot and should not be
handled in Django itself.

Thanks Jani Tiainen and David Smith for reports.

See: https://github.com/OSGeo/gdal/issues/3377
Backport of 2cd4026334 from main
2021-03-23 09:17:58 +01:00
Adam Johnson 15a8518388 [3.2.x] Refs #31732 -- Fixed django.utils.inspect caching for bound methods.
Thanks Alexandr Artemyev for the report, and Simon Charette for the
original patch.

Backport of 562898034f from main
2021-03-22 20:49:15 +01:00
Adam Johnson 2420fd2d5c [3.2.x] Refs #31372 -- Added django.utils.inspect tests for bound methods.
Backport of ac72a216a7 from main
2021-03-22 20:49:09 +01:00
tim-mccurrach 153a681198 [3.2.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option.
Backport of cf2f6fc558 from main
2021-03-22 08:44:55 +01:00
kshitijraghav fb92a9e287 [3.2.x] Fixed #32570 -- Removed unnecessary default_auto_field in app config example.
Backport of d40402cfb0 from main
2021-03-19 13:03:36 +01:00
Mariusz Felisiak 8298775dad [3.2.x] Refs #25735 -- Added tags/exclude_tags arguments to DiscoverRunner docs.
Backport of 37044817f9 from main
2021-03-19 08:06:45 +01:00
Mariusz Felisiak 9059b2fe60 [3.2.x] Added parallel argument to DiscoverRunner docs.
Follow up to cd9fcd4e80.

Backport of f099ef3ef5 from main
2021-03-19 08:06:31 +01:00
Mariusz Felisiak 62fd750bf7 [3.2.x] Corrected DiscoverRunner.build_suite() signature.
Follow up to 9012833af8.

Backport of fc6fba0aa9 from main
2021-03-19 08:06:25 +01:00
Carlton Gibson 2f6714cc9b [3.2.x] Bumped version for 3.2 release candidate 1. 2021-03-18 14:25:23 +01:00
Johannes Maron a8fef6daaf [3.2.x] Fixed #32466 -- Corrected autocomplete to_field resolution for complex cases.
In MTI or ForeignKey as primary key cases, it is required to fetch the attname
from the field instance on the remote model in order to reliably resolve the
to_field_name.

Backport of ceb4b9ee68 from main Backport of 03d0f12c82 from main

Co-authored-by: Johannes Maron <info@johanneshoppe.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-03-18 14:21:12 +01:00
Hasan Ramezani 6b020f3c94 [3.2.x] Fixed #32547 -- Corrected notes about validation in HTML assertions docs.
Backport of ceb4b9ee68 from main
2021-03-18 11:09:03 +01:00
Adam Johnson 46bdc3eaf0 [3.2.x] Fixed #32560 -- Fixed test runner with --pdb and --buffer on fail/error.
Backport of 45814af619 from main
2021-03-17 21:51:27 +01:00
Jozef 3ff859b789 [3.2.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 6993e1bf6d from main
2021-03-17 18:49:53 +01:00
Mariusz Felisiak 4aba70900c [3.2.x] Fixed #32353 -- Confirmed support for PROJ 7.X.
Backport of 065832eaec from main
2021-03-16 20:23:36 +01:00
Hasan Ramezani 7e43a10084 [3.2.x] Fixed #32536 -- Added links to BaseDetailView/BaseListView.get() methods in CBV docs.
Backport of bc04941bf8 from main
2021-03-16 07:59:49 +01:00
Hasan Ramezani d076d9649d [3.2.x] Fixed typo in docs/ref/checks.txt.
Backport of 50ef9dfac2 from main
2021-03-15 09:42:29 +01:00
Mariusz Felisiak 6171d6bb48 [3.2.x] Updated datum directory for PROJ 6 in GIS install instructions.
Backport of 4d912e6697 from main
2021-03-15 08:21:12 +01:00