amirsoroush
e4fad1372d
[4.2.x] Fixed typo in docs/topics/class-based-views/mixins.txt.
...
Backport of 6087bc4e15
from main
2023-03-22 09:56:06 +01:00
Carlton Gibson
ae824eceb1
[4.2.x] Fixed #34428 -- Made ASGIStaticFilesHandler adapt response to async iterator.
...
Bug in 0bd2c0c901
.
Backport of 02c356f2f3
from main
2023-03-21 20:52:59 +01:00
Mariusz Felisiak
e829b0a239
[4.2.x] Bumped version for 4.2 release candidate 1.
2023-03-20 08:19:05 +01:00
Mariusz Felisiak
7e79fb35d4
[4.2.x] Updated source translation catalogs.
2023-03-20 05:59:41 +01:00
Mariusz Felisiak
f2923306f1
[4.2.x] Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional.
...
Co-authored-by: Author: Claude Paroz <claude@2xlibre.net>
Backport of e10c1688f9
from main
2023-03-18 14:06:09 +01:00
Ayush Bisht
eff2ba3f8d
[4.2.x] Fixed #34404 -- Clarified how FileResponse set Content-Type header.
...
Backport of fc266b694b
from main
2023-03-16 08:31:23 +01:00
Mariusz Felisiak
69a3890c2a
[4.2.x] Refs #32355 -- Bumped required version of sqlparse in setup.cfg.
...
Follow up to 63d1cb0092
.
Backport of fbe850106b
from main.
2023-03-13 12:09:43 +01:00
Adam Johnson
a0f46ea7e8
[4.2.x] Corrected example in CreateCollation() docs.
...
Backport of 4db33e96d1
from main
2023-03-12 15:03:07 +01:00
Mariusz Felisiak
2e57dc490b
[4.2.x] Doc'd that action descriptions are %-formatted.
...
Co-authored-by: JD Bothma <jbothma@gmail.com>
Backport of cc67344db9
from main
2023-03-09 15:44:40 +01:00
Mariusz Felisiak
87a55e0b51
[4.2.x] Fixed #34395 -- Updated admin's jQuery to 3.6.4.
...
Backport of 18473004af
from main
2023-03-09 08:55:34 +01:00
David Wobrock
6937c92169
[4.2.x] Fixed #34384 -- Fixed session validation when rotation secret keys.
...
Bug in 0dcd549bbe
.
Thanks Eric Zarowny for the report.
Backport of 2396933ca9
from main
2023-03-08 11:33:03 +01:00
Carlton Gibson
d89d517f90
[4.2.x] Refs #31626 -- Noted that Daphne provides a runserver command.
...
Backport of 279e611c01
from main
2023-03-07 19:48:49 +01:00
Mariusz Felisiak
046d2b9edb
[4.2.x] Added stub release notes for 4.1.8.
...
Backport of 9a07999aef
from main
2023-03-06 17:37:50 +01:00
Dmitriy Sintsov
b9d89d74f7
[4.2.x] Fixed #34386 -- Made SMTP backend load default system root CA certificates by default.
...
Regression in 2848e5d0ce
.
Backport of c914d6cff1
from main
2023-03-06 13:27:45 +01:00
Adam Johnson
afb200e3ab
[4.2.x] Doc'd that django.setup() is called under ASGI.
...
Backport of ef00d6ef88
from main
2023-03-01 14:59:24 +01:00
Heath Henley
125abb7cab
[4.2.x] Fixed #34367 -- Updated instructions for installing GeoDjango on Windows.
...
Thanks David Smith for the review.
Backport of 54aecf95a2
from main
2023-03-01 14:30:30 +01:00
Mariusz Felisiak
fec487f968
[4.2.x] Ignored 62510f01e7
formatting changes in git blame.
2023-03-01 13:39:28 +01:00
django-bot
62510f01e7
[4.2.x] Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
2023-03-01 13:39:03 +01:00
Mariusz Felisiak
32f224e359
[4.2.x] Refs #34140 -- Added configurations to run blacken-docs linter and adjusted docs.
...
This adds:
- GitHub actions,
- tox configuration,
- pre-commit hook, and
- makefile rules
to run blacken-docs linter.
Co-authored-by: David Smith <smithdc@gmail.com>
Backport of 6015bab80e
from main
2023-03-01 13:34:28 +01:00
Mariusz Felisiak
8d2ac000e4
[4.2.x] Refs #34140 -- Made minor edits to rst code-blocks.
...
Backport of 9cf2a5df70
from main
2023-03-01 13:34:13 +01:00
Mariusz Felisiak
de41657724
[4.2.x] Ignored 5bdd6223a2
formatting changes in git blame.
2023-02-28 12:57:48 +01:00
Joseph Victor Zammit
5bdd6223a2
[4.2.x] Refs #34140 -- Corrected rst code-block and various formatting issues in docs.
...
Backport of ba755ca131
from main
2023-02-28 12:54:33 +01:00
Tim Graham
fae76b81ce
[4.2.x] Refs #34320 -- Added skipIf for a test requiring check constraints.
...
Backport of 40e88ae8c8
from main
2023-02-28 05:13:22 +01:00
Simon Charette
fc15d11f2e
[4.2.x] Fixed #34368 -- Made subquery raise NotSupportedError when referencing outer window expression.
...
Regression in f387d024fc
.
Co-authored-by: Jannis Vajen <jvajen@gmail.com>
Backport of c67ea79aa9
from main
2023-02-27 09:46:30 +01:00
Simon Charette
872dade29c
[4.2.x] Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy.
...
Regression in 278881e376
caused by a lack
of expression copying when an OrderBy expression is explicitly provided.
Thanks Jannis Vajen for the report and regression test.
Backport of b15f162f25
from main
2023-02-27 07:10:45 +01:00
Adam Johnson
5a82acbda8
[4.2.x] Doc'd that Meta.indexes is preferred to Field.db_index.
...
Backport of f9fe062de5
from main
2023-02-24 09:48:54 +01:00
Panagiotis H.M. Issaris
ce69dba000
[4.2.x] Fixed #34363 -- Fixed floatformat crash on zero with trailing zeros.
...
Regression in 08c5a78726
.
Follow up to 4b066bde69
.
Backport of dcd9746983
from main
2023-02-22 20:49:04 +01:00
Tim Graham
48b2ba8a55
[4.2.x] Moved DatabaseIntrospection.get_table_description() internal_size release note to "Database backend API" section.
...
Backport of 31cd2852cb
from main
2023-02-22 05:18:03 +01:00
Mariusz Felisiak
6234acb717
[4.2.x] Bumped version for 4.2 beta 1.
2023-02-20 09:35:28 +01:00
Laurens Verhoeven
bb94e1b7db
[4.2.x] Fixed #34349 -- Fixed FormSet.empty_form crash when deleting extra forms is disabled.
...
Backport of 6cbc403b8e
from main
2023-02-20 09:33:19 +01:00
Simon Charette
aab25a69dd
[4.2.x] Fixed #34346 -- Ordered selected expressions by position.
...
Used the same approach as for #34176 by using selected expressions
position to prevent ambiguous aliases in collisions.
Thanks henribru for the report.
Regression in 04518e310d
.
Backport of 278881e376
from main
2023-02-20 06:22:18 +01:00
Simon Charette
312d0f88b4
[4.2.x] Refs #33308 -- Added tests for queryset ordered by annotation with nulls_first/nulls_last.
...
Backport of a6511bc233
from main
2023-02-18 16:29:04 +01:00
Stefan Brand
efcc0f25a7
[4.2.x] Fixed #34302 -- Fixed SpatialReference.srid for objects without top-level authority.
...
Backport of eacf6b73d8
from main
2023-02-17 19:57:41 +01:00
Stefan Brand
341f33ed15
[4.2.x] Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is None.
...
force_bytes() turns None into the byte string b"None". Since
ctypes.c_char_p() also accepts None, we can bypass force_bytes() if
target is None.
Backport of d77762de03
from main
2023-02-17 19:57:34 +01:00
Alexandre Spaeth
610cd06c3f
[4.2.x] Fixed #34342 , Refs #33735 -- Fixed test client handling of async streaming responses.
...
Bug in 0bd2c0c901
.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of 52b054824e
from main
2023-02-17 11:48:59 +01:00
Alexandre Spaeth
1ecbc04624
[4.2.x] Refs #34342 -- Added tests for handling sync streaming responses by test client.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of bfb8fda3e6
from main
2023-02-17 11:48:53 +01:00
Mariusz Felisiak
e1c74bf458
[4.2.x] Refs #21080 , Refs #34322 -- Added warning to ManifestStaticFilesStorage docs about paths in comments.
...
Backport of bae053d497
from main.
2023-02-16 19:20:41 +01:00
nabil-rady
3b09f35558
[4.2.x] Fixed #34320 -- Make sure constraints names are obtained from truncated columns names.
...
Backport of 6bdc3c58b6
from main
2023-02-15 16:52:31 +01:00
David Smith
ce10686604
[4.2.x] Refs #32339 -- Doc'd BaseFormSet.as_div()
...
Backport of 4038a8df0b
from main
2023-02-15 09:24:59 +01:00
Sarah Boyce
389318d118
[4.2.x] Bumped grunt-contrib-qunit versions in npm configurations.
...
Backport of e13954d2cf
from main
2023-02-14 19:52:19 +01:00
Sarah Boyce
3b2685b01c
[4.2.x] Bumped versions in pre-commit and npm configurations.
...
Backport of 7e297e52c2
from main
2023-02-14 19:41:11 +01:00
DevilsAutumn
5cde08f702
[4.2.x] Fixed #34250 -- Fixed renaming model with m2m relation to a model with the same name.
...
Backport of ff3a283422
from main
2023-02-14 14:33:45 +01:00
Carlton Gibson
b7aab1fb3a
[4.2.x] Fixed #34328 -- Added async-only class-based middleware example.
...
Backport of ce8189eea0
from main
2023-02-14 14:16:19 +01:00
Carlton Gibson
ac8cf0ae76
[4.2.x] Added CVE-2023-24580 to security archive.
...
Backport of ecafcaf634
from main
2023-02-14 09:53:00 +01:00
Markus Holtermann
7ac5ff37b8
[4.2.x] Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.
...
Thanks to Jakob Ackermann for the report.
2023-02-14 08:21:18 +01:00
Sarah Boyce
de42d51361
[4.2.x] Fixed #29994 -- Added warning about performance of FileBasedCache with a large number of files.
...
Co-authored-by: sheenarbw <699166+sheenarbw@users.noreply.github.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 1eb94bc8da
from main
2023-02-13 21:09:55 +01:00
Sota Tabu
8cc5caa113
[4.2.x] Fixed #34318 -- Added release note for 4bfe8c0eec
.
...
Backport of 3e9d413231
from main
2023-02-13 14:13:16 +01:00
sarahboyce
5510a12c90
[4.2.x] Fixed #34316 -- Fixed layout of admin password change forms and help texts.
...
Regression in 96a598356a
.
Backport of e678046681
from main
2023-02-13 11:52:09 +01:00
Mariusz Felisiak
111273f7ee
[4.2.x] Ignored b784768eef
formatting changes in git blame.
2023-02-10 21:13:53 +01:00
Carlton Gibson
b784768eef
[4.2.x] Refs #34140 -- Applied rst code-block to non-Python examples.
...
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.
Backport of 534ac48297
from main.
2023-02-10 21:12:06 +01:00