Jacob Rief
aed60aee38
Fixed #33930 -- Eased customization of delete_confirmation.html template in the admin.
2022-08-18 10:51:12 +02:00
Benoît Vinot
e3cb8bcb7d
Fixed #33932 -- Fixed altering AutoFields to OneToOneField on PostgreSQL.
...
Regression in 2eea361eff
.
2022-08-17 17:06:00 +02:00
Tom Carrick
d46cc15c51
Fixed #33878 -- Switched to system fonts in CSS.
2022-08-17 10:19:00 +02:00
Youssef
0cbbed49f4
Fixed #33909 -- Corrected django.dispatch.receiver() signature.
2022-08-16 06:13:15 +02:00
Youssef
247e25897b
Fixed #33778 -- Updated build-system configuration.
...
This removes unnecessary wheel dependency and __legacy__ fallback.
2022-08-15 11:31:33 +02:00
Simon Charette
242499f2dc
Fixed #26780 -- Added prefetch_related() support for sliced queries.
...
This was made possible by window function filtering support added in
f387d024fc
.
2022-08-15 10:25:20 +02:00
Simon Charette
f387d024fc
Refs #28333 -- Added partial support for filtering against window functions.
...
Adds support for joint predicates against window annotations through
subquery wrapping while maintaining errors for disjointed filter
attempts.
The "qualify" wording was used to refer to predicates against window
annotations as it's the name of a specialized Snowflake extension to
SQL that is to window functions what HAVING is to aggregates.
While not complete the implementation should cover most of the common
use cases for filtering against window functions without requiring
the complex subquery pushdown and predicate re-aliasing machinery to
deal with disjointed predicates against columns, aggregates, and window
functions.
A complete disjointed filtering implementation should likely be
deferred until proper QUALIFY support lands or the ORM gains a proper
subquery pushdown interface.
2022-08-15 08:26:26 +02:00
Mohammadtaher Abbasi
e30d667842
Fixed #33921 -- Added release note for 5b8699e723
.
2022-08-12 22:38:19 +02:00
Mariusz Felisiak
5c803bc070
Fixed #33919 -- Fixed adding AutoFields on PostgreSQL.
...
Thanks Jack Calvin Brown for the report.
Regression in 2eea361eff
.
2022-08-12 17:30:23 +02:00
Claude Paroz
4fcba800b8
Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes.
2022-08-12 13:26:35 +02:00
Jarosław Wygoda
9e7cb27a5b
Refs #26029 -- Doc'd django.core.files.storage.default_storage.
2022-08-10 12:23:13 +02:00
David Sanders
e0ae1363ec
Fixed #33905 -- Fixed CheckConstraint() validation on range fields.
...
Bug in 667105877e
.
2022-08-09 20:13:21 +02:00
Ramil Yanbulatov
cccfb45d00
Refs #33842 -- Removed incorrect :file: role in contrib docs.
...
The file role is not appropriate for URLs and URL path-components.
2022-08-09 14:51:59 +02:00
Ramil Yanbulatov
d699594462
Refs #33842 -- Added :ttag: role in translations docs.
2022-08-09 14:51:59 +02:00
Ramil Yanbulatov
c6290bae9d
Fixed #33842 -- Used :source: role for links to repo files on GitHub.
2022-08-09 14:44:51 +02:00
Mariusz Felisiak
63884829ac
Fixed #33902 -- Fixed Meta.constraints validation crash with F() expressions.
...
Thanks Adam Zahradník for the report.
Bug in 667105877e
.
2022-08-09 06:08:48 +02:00
Alessandro Baccini
c614e811f8
Fixed typo in docs/topics/i18n/translation.txt.
2022-08-08 19:43:36 +02:00
Kamil Turek
e03cdf76e7
Fixed #31721 -- Allowed ModelForm meta to specify form fields.
2022-08-08 09:46:05 +02:00
Fiza Ashraf
c0beff2123
Fixed #33899 -- Fixed migration crash when removing indexed field on SQLite 3.35.5+.
...
Regression in 702819227fd0cdd9b581cd99e11d1561d51cbeb.
Thanks cessor for the report.
2022-08-08 06:28:53 +02:00
Mariusz Felisiak
fd93db97c7
Fixed #33898 -- Fixed Window() expression crash with ArrayAgg().
...
Thanks Kia for the report.
Regression in e06dc4571e
.
2022-08-06 17:59:31 +02:00
Mariusz Felisiak
00370342ca
Fixed typo in docs/ref/forms/renderers.txt.
...
Thanks Josh for the report.
2022-08-06 13:43:16 +02:00
Fab
0756c61f2a
Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of admin forms."
...
Regression in fe7dbef586
.
2022-08-05 16:38:52 +02:00
Mariusz Felisiak
d4db417c8e
Fixed #33891 -- Fixed test command crash when running in parallel using spawn.
...
Thanks Kevin Renskers for the report.
Regression in 41c4cb253c
.
2022-08-04 09:16:38 +02:00
Claude Paroz
0638b4e23d
Fixed #33888 -- Fixed get_select2_language() crash with no language activated.
...
Regression in 3079133c73
.
2022-08-03 19:51:25 +02:00
NOTHING
a2792d09ad
Fixed typo in docs/releases/4.2.txt.
2022-08-03 18:40:42 +02:00
Aarni Koskela
e7afb8a180
Fixed #33886 -- Reallowed using GeoIP2() when GEOS is not installed.
...
Regression in 31bef51d8e
.
2022-08-03 16:55:23 +02:00
Mariusz Felisiak
cb791a2540
Fixed #33872 -- Deprecated django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
2022-08-03 11:42:51 +02:00
Carlton Gibson
09e837c5d9
Added stub release notes for 4.1.1.
2022-08-03 10:52:38 +02:00
Carlton Gibson
a4cb1dae63
Updated release notes for Django 4.1 release.
2022-08-03 10:26:00 +02:00
Carlton Gibson
57c7220280
Added CVE-2022-36359 to security archive.
2022-08-03 09:09:48 +02:00
Carlton Gibson
bd062445cf
Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header.
...
Thanks to Motoyasu Saburi for the report.
2022-08-03 08:46:31 +02:00
Carlton Gibson
9062c23de8
Adjusted version 4.0.7 release notes.
2022-08-03 08:36:32 +02:00
Sarah Abderemane
bc7aa2a5e9
Fixed #33690 -- Added switch button for dark mode in the admin.
2022-08-02 17:14:24 +02:00
Carlton Gibson
5028a02352
Doc'd TextField.db_collation as optional.
...
Matches CharField.db_collation docs.
Thanks to Paolo Melchiorre for the report.
2022-08-02 15:16:42 +02:00
Claude Paroz
44c24bf028
Refs #25706 -- Removed inline CSS in the openlayers widget template.
2022-08-01 20:29:49 +02:00
Claude Paroz
1e5bbbb2a8
Fixed #33442 -- Allowed GeoIP2 to use DB-IP Lite datasets.
2022-07-30 19:29:45 +02:00
rharri
6654289f5b
Fixed typo in docs/topics/testing/tools.txt.
2022-07-29 08:26:27 +02:00
Carlton Gibson
cadd864f68
Adjusted release notes for 4.0.7 and 3.2.15.
2022-07-27 10:03:06 +02:00
Carlton Gibson
0c1675781e
Added release date and stub release notes for 4.0.7 and 3.2.15 releases.
2022-07-27 09:23:40 +02:00
Mariusz Felisiak
e20e5d1557
Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.
...
Thanks Johnny Metz for the report.
Regression in 71ec102b01
.
2022-07-26 20:21:27 +02:00
Mariusz Felisiak
7e3c9c3205
Refs #27236 -- Doc'd that AlterIndexTogether is no longer officially supported for Django 4.2+ migration files.
2022-07-26 11:42:54 +02:00
Mariusz Felisiak
a1e9e9abc5
Refs #27236 -- Reverted "Refs #27236 -- Added generic mechanism to handle the deprecation of migration operations."
...
This reverts commit 41019e48bb
.
2022-07-26 11:41:19 +02:00
Mariusz Felisiak
c773d5794e
Refs #27236 -- Reverted AlterIndexTogether deprecation.
...
This partly reverts a6385b382e
.
2022-07-26 11:41:19 +02:00
Claude Paroz
2d23a07817
Fixed #33866 -- Added pathlib.Path support to GDALRaster constructor.
2022-07-25 20:48:33 +02:00
Claude Paroz
3b79dab19a
Refs #33691 -- Deprecated insecure password hashers.
...
SHA1PasswordHasher, UnsaltedSHA1PasswordHasher, and UnsaltedMD5PasswordHasher
are now deprecated.
2022-07-23 21:29:31 +02:00
Claude Paroz
a46dfa87d0
Refs #25756 -- Doc'd inability to use file fields with PostgreSQL ArrayField.
2022-07-23 16:12:01 +02:00
Nick Pope
4d4bf55e0e
Fixed #33864 -- Deprecated length_is template filter.
2022-07-23 12:36:21 +02:00
Victor
2fac0a1808
Fixed #33317 -- Added note about unconditional evaluation of {% block %} tags.
2022-07-22 10:09:29 +02:00
Mariusz Felisiak
e59d1ff562
Fixed #33850 -- Confirmed support for GEOS 3.11.
2022-07-18 20:03:26 +02:00
cheng
d4c5d2b52c
Fixed #33631 -- Marked {% blocktranslate asvar %} result as HTML safe.
2022-07-14 11:09:19 +02:00
Alokik Vijay
7faf25d682
Fixed #30711 -- Doc'd django.contrib.postgres.fields.hstore.KeyTransform().
2022-07-13 10:56:46 +02:00
David Wobrock
a6385b382e
Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.
...
This also deprecates AlterIndexTogether migration operation.
2022-07-12 09:04:31 +02:00
Mariusz Felisiak
5e2f4ddf29
Refs CVE-2022-34265 -- Unified DatabaseOperations._convert_*_to_tz() hook names.
2022-07-09 13:02:07 +02:00
Mariusz Felisiak
eb3699ea77
Fixed #33718 -- Dropped support for MySQL 5.7.
2022-07-08 13:30:12 +02:00
David Wobrock
41019e48bb
Refs #27236 -- Added generic mechanism to handle the deprecation of migration operations.
2022-07-08 07:05:55 +02:00
Simon Charette
877c800f25
Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-07-06 07:40:07 +02:00
Mariusz Felisiak
d12d7c4c42
Added CVE-2022-34265 to security archive.
2022-07-04 10:27:14 +02:00
Mariusz Felisiak
c6932ea2ea
Added stub release notes for 4.0.7.
2022-07-04 10:06:07 +02:00
Mariusz Felisiak
54eb8a374d
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:13:41 +02:00
Aristotelis Mikropoulos
5eb6a2b33d
Fixed typo in docs/topics/signals.txt.
2022-07-02 16:45:24 +02:00
Michael Manfre
03eec9ff6c
Updated vendored _urlsplit() to strip newline and tabs.
...
Refs Python CVE-2022-0391. Django is not affected, but others who
incorrectly use internal function url_has_allowed_host_and_scheme()
with unsanitized input could be at risk.
2022-07-01 08:48:38 +02:00
Arslan Noor
5c93a84f44
Corrected various typos in contributing docs.
2022-06-30 11:09:06 +02:00
Pablo Montepagano
bb2c5f69f4
Fixed #32749 -- Doc'd PyMemcacheCache defaults.
2022-06-28 21:56:51 +02:00
Mariusz Felisiak
154dd1c0ed
Refs #33697 -- Added backward incompatibility note about removing multipartparser.parse_header().
2022-06-28 21:45:03 +02:00
Hrushikesh Vaidya
72e41a0df6
Fixed #33779 -- Allowed customizing encoder class in django.utils.html.json_script().
2022-06-28 10:54:38 +02:00
Hrushikesh Vaidya
0ee03a439b
Refs #33779 -- Doc'd django.utils.html.json_script().
2022-06-28 10:51:46 +02:00
Christopher Adams
90d2f9f416
Fixed #33422 -- Improved docs about isolating apps.
2022-06-27 11:29:21 +02:00
Mariusz Felisiak
b2eff16806
Added stub release notes and release date for 4.0.6 and 3.2.14.
2022-06-27 07:13:26 +02:00
Ian Wootten
6f63e0ce8e
Fixed #33804 -- Corrected GinIndex.gin_pending_list_limit description in docs.
2022-06-24 14:52:21 +02:00
Mariusz Felisiak
a0608c4b11
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
.
2022-06-21 09:09:41 +02:00
Anv3sh
d7f5bfd241
Fixed #32969 -- Fixed pickling HttpResponse and subclasses.
2022-06-20 08:51:26 +02:00
Matt Brewer
8d160f154f
Fixed #33788 -- Added TrigramStrictWordSimilarity() and TrigramStrictWordDistance() on PostgreSQL.
2022-06-17 11:14:30 +02:00
David Wobrock
e286ce17ff
Fixed #24870 -- Added --update option to makemigrations command.
2022-06-17 07:50:39 +02:00
Carlton Gibson
2a2bde52f3
Updated asgiref dependency for 4.1 release series.
2022-06-16 12:13:15 +02:00
Mariusz Felisiak
759ff4862a
Fixed #33786 -- Confirmed support for GDAL 3.5.
2022-06-16 09:44:19 +02:00
Sfurti-yb
860643e12e
Added YugabyteDB to list of third-party DB backends.
2022-06-16 07:58:11 +02:00
Grammy Jiang
ef9121f3e6
Updated OWASP Top 10 link in security topic.
2022-06-16 06:35:20 +02:00
Ronnie van den Crommenacker
c32858a8ce
Fixed #33565 -- Improved locale format validation for the makemessages command.
2022-06-08 16:17:12 +02:00
Swann
d0863429a3
Fixed documentation of Widget.id_for_label() empty return value.
2022-06-03 12:19:47 +02:00
Ciaran McCormick
286e7d076c
Fixed #33764 -- Deprecated BaseUserManager.make_random_password().
2022-06-03 07:30:57 +02:00
Tim Graham
61badf1d58
Fixed #33757 -- Clarified Client.post() file upload example.
2022-06-02 19:03:34 +02:00
Samir Shah
6f73eb9d90
Fixed #33742 -- Added id to GeoJSON serializer.
2022-06-01 19:11:26 +02:00
Carlton Gibson
d5bc362030
Added stub release notes for 4.0.6.
2022-06-01 14:36:22 +02:00
Carlton Gibson
40bf34a92f
Updated release date for Django 4.0.5.
2022-06-01 12:25:33 +02:00
Mariusz Felisiak
565ad5ace4
Fixed #33753 -- Fixed docs build on Sphinx 5+.
...
Empty language is not supported anymore.
2022-06-01 12:13:15 +02:00
Mariusz Felisiak
ebf25555bb
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
2022-05-31 15:21:17 +02:00
Mariusz Felisiak
ac90529cc5
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.
2022-05-31 11:17:01 +02:00
Hasan Ramezani
ce69e34bd6
Unified AdminSite imports in docs.
2022-05-25 13:13:28 +02:00
Mariusz Felisiak
90aabd730a
Fixed #33724 -- Doc'd exclude argument changes in model validation.
...
Thanks אורי for the report.
Follow up to 1ea7e3157d
.
2022-05-24 10:02:53 +02:00
Sankalp
90dcf27114
Fixed #33725 -- Made hidden quick filter in admin's navigation sidebar not focusable.
...
Regression in d915dd1c58
.
Follow up to 780473d756
.
2022-05-21 13:37:53 +02:00
Burak Kadir Er
1be9585d73
Fixed #33721 -- Added DE-9IM link in GEOS docs.
2022-05-20 16:47:10 +02:00
Tom Sparrow
e89f957135
Removed unnecessary semicolons in docs about performing raw SQL.
2022-05-19 10:38:22 +02:00
Mariusz Felisiak
981c23c0cc
Fixed #33717 -- Dropped support for PostgreSQL 11.
2022-05-19 09:26:48 +02:00
David Wobrock
9f55489529
Fixed #33705 -- Fixed crash when using IsNull() lookup in filters.
...
Thanks Florian Apolloner for the report.
Thanks Simon Charette for the review.
2022-05-19 07:02:22 +02:00
Simon Willison
4525d689e9
Refs #33646 -- Fixed link markup in queries topic doc.
2022-05-18 17:39:59 +02:00
Joachim Jablon
ce7321932d
Refs #30581 -- Updated count of steps in model validation docs.
...
Follow-up to 667105877e
.
2022-05-18 11:38:15 +02:00
Mariusz Felisiak
19297de2fe
Fixed #33713 -- Dropped support for MariaDB 10.3.
2022-05-18 08:38:08 +02:00
Carlton Gibson
3c6f1fd1f8
Increased the default PBKDF2 iterations for Django 4.2.
2022-05-17 14:22:06 +02:00
Carlton Gibson
cdb2f7f36c
Advanced deprecation warnings for Django 4.2.
2022-05-17 14:22:06 +02:00
Carlton Gibson
ca1c3151c3
Removed versionadded/changed annotations for 4.0.
2022-05-17 14:22:06 +02:00