Mariusz Felisiak
db49def5fc
[4.2.x] Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol.
...
Thanks Patryk Zawadzki for the report.
Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.
Backport of 4bf4222010fd8e413963c6c873e4088614332ef9 from main
2023-04-06 13:33:13 +02:00
Yahya Ali
e68da20596
[4.2.x] Fixed #34463 -- Corrected code-block directives in docs.
...
Thanks ExTexan for the report.
Backport of 263db8af469f0f3a5bd8ddc4a7dd0154c3d1fbca from main
2023-04-06 13:08:44 +02:00
Sarah Boyce
e34a54a36e
[4.2.x] Refs #34028 -- Doc'd that get_script_prefix() cannot be used outside of the request-response cycle.
...
Backport of bdf59bff657975e577b86b194b39ec2f77983d2b from main
2023-04-06 13:02:00 +02:00
Mariusz Felisiak
05d6efa958
[4.2.x] Added release date for 4.1.8.
...
Backport of fdf0a367bdd72c70f91fb3aed77dabbe9dcef69f from main
2023-04-05 06:19:12 +02:00
Simon Charette
647920b766
[4.2.x] Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.
...
Thanks Andrew Cordery for the report.
Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.
Backport of 87c63bd8df0eb0109df333df1264c6a96707d6a4 from main
2023-04-05 06:06:03 +02:00
David Sanders
272dc386c2
[4.2.x] Refs #34434 -- Added note about breaking changes in psycopg version 3 to release notes.
...
Backport of ff9ceed32b880733d94190742e45dbcf5927b161 from main
2023-04-04 17:07:08 +02:00
Mariusz Felisiak
42b362e081
[4.2.x] Updated release process for 2.0+ release numbering and latest practices.
...
Backport of 073b5fd40035759afaebe5c77de5269aee851643 from main
2023-04-04 07:28:42 +02:00
Mariusz Felisiak
439d1c59f2
[4.2.x] Added stub release notes for 4.2.1.
...
Backport of 4e4eda6d6c8a5867dafd2ba9167ad8c064bb644a from main
2023-04-03 11:20:47 +02:00
Mariusz Felisiak
60018238c8
[4.2.x] Finalized release notes for Django 4.2.
...
Backport of 8adbab49e116c31619ca38061cb2e74a1a1ec85a from main
2023-04-03 09:03:00 +02:00
Mariusz Felisiak
3e497de412
[4.2.x] Updated man page for Django 4.2 final.
2023-04-03 08:56:48 +02:00
Edison Wang
9ef2625cd5
[4.2.x] Fixed #34431 -- Improved Date/DateTimeField/TimeField.input_formats docs.
...
Backport of cbcc1240e912cfc47cb6ea0c4fe6b4a48f36f7e2 from main
2023-04-03 08:15:10 +02:00
JiriKr
634acb5180
[4.2.x] Fixed #34446 -- Removed unneeded and incorrect example in coding style docs.
...
Backport of cfe563ffaf01d22343717176d96bfca0d05f60fb from main
2023-03-30 11:41:32 +02:00
Mariusz Felisiak
870067e578
[4.2.x] Fixed typos in docs/ref/forms/renderers.txt.
...
Backport of 659f6b5bc5d68661a071f0cd13b8dab678067023 from main
2023-03-24 12:55:15 +01:00
Carlton Gibson
35ffaf77c2
[4.2.x] Added Django Forum to mailing lists page.
...
Backport of d33368b4ab6ae0c01e83d525f7e1655156a640d1 from main
2023-03-24 08:58:45 +01:00
Jesper Olsson
b0b769769e
[4.2.x] Fixed #34409 -- Doc'd limitation of dictfetchall() and namedtuplefetchall() examples.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 216eb63883050f6a3bf5d306e42972e7a6b6dff5 from main
2023-03-22 19:23:26 +01:00
Carlton Gibson
d118cbb1ed
[4.2.x] Doc'd use of asgiref.sync adapters with sensitive variables.
...
Backport of 6087bc4e15e89d968396807f8485f4b5624c4f03 from main.
2023-03-22 16:24:56 +01:00
amirsoroush
e4fad1372d
[4.2.x] Fixed typo in docs/topics/class-based-views/mixins.txt.
...
Backport of 6087bc4e15e89d968396807f8485f4b5624c4f03 from main
2023-03-22 09:56:06 +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 e10c1688f96e3b2d202fe401472b7b25f6105969 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 fc266b694b9129e44b597d8a56927ee13fdac358 from main
2023-03-16 08:31:23 +01:00
Adam Johnson
a0f46ea7e8
[4.2.x] Corrected example in CreateCollation() docs.
...
Backport of 4db33e96d1b5b4ba1a739e15b28835495f78eee4 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 cc67344db9de0248ba1064f7e986c6b29276a7b1 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 18473004afd82a616ba6c9ac22f476347fde4846 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 0dcd549bbe36c060f536ec270d34d9e7d4b8e6c7.
Thanks Eric Zarowny for the report.
Backport of 2396933ca99c6bfb53bda9e53968760316646e01 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 279e611c017b5fcc055263e760de1495a9098ede 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 9a07999aef7958c9b5441e368cd90646d0edc5c9 from main
2023-03-06 17:37:50 +01:00
Adam Johnson
afb200e3ab
[4.2.x] Doc'd that django.setup() is called under ASGI.
...
Backport of ef00d6ef8846c6b17d41ce46fa3798313e0c5b66 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 54aecf95a2efb989263e3a888b54fb52cbc15787 from main
2023-03-01 14:30:30 +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 6015bab80e28aef2669f6fac53423aa65f70cb08 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 9cf2a5df70051dffcefe21c6b27203e2d5804922 from main
2023-03-01 13:34:13 +01:00
Joseph Victor Zammit
5bdd6223a2
[4.2.x] Refs #34140 -- Corrected rst code-block and various formatting issues in docs.
...
Backport of ba755ca13123d2691a0926ddb64e5d0a2906a880 from main
2023-02-28 12:54:33 +01:00
Adam Johnson
5a82acbda8
[4.2.x] Doc'd that Meta.indexes is preferred to Field.db_index.
...
Backport of f9fe062de5fc0896d6bbbf3f260b5c44473b3c77 from main
2023-02-24 09:48:54 +01:00
Tim Graham
48b2ba8a55
[4.2.x] Moved DatabaseIntrospection.get_table_description() internal_size release note to "Database backend API" section.
...
Backport of 31cd2852cb86197d5f3f5a637184a078ab0615f8 from main
2023-02-22 05:18:03 +01:00
Mariusz Felisiak
e1c74bf458
[4.2.x] Refs #21080 , Refs #34322 -- Added warning to ManifestStaticFilesStorage docs about paths in comments.
...
Backport of bae053d497ba8a8de7e4f725973924bfb1885fd2 from main.
2023-02-16 19:20:41 +01:00
David Smith
ce10686604
[4.2.x] Refs #32339 -- Doc'd BaseFormSet.as_div()
...
Backport of 4038a8df0b8c20624ba826cf9af8f532e5a51aaa from main
2023-02-15 09:24:59 +01:00
Carlton Gibson
b7aab1fb3a
[4.2.x] Fixed #34328 -- Added async-only class-based middleware example.
...
Backport of ce8189eea007882bbe6db22f86b0965e718bd341 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 ecafcaf634fcef93f9da8cb12795273dd1c3a576 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 1eb94bc8dab46dfa117d21ef4f3b52aebb593615 from main
2023-02-13 21:09:55 +01:00
Sota Tabu
8cc5caa113
[4.2.x] Fixed #34318 -- Added release note for 4bfe8c0eec835b8eaffcda7dc1e3b203751a790a.
...
Backport of 3e9d413231edc29768cc7ca0427e63b19233f562 from main
2023-02-13 14:13:16 +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 534ac4829764f317cf2fbc4a18354fcc998c1425 from main.
2023-02-10 21:12:06 +01:00
dennisvang
4a89aa25c9
[4.2.x] Fixed #34325 -- Corrected wording in PercentRank() docs.
...
This is consistent with the terminology used for the percent_rank()
function in SQLite docs and PostgreSQL docs.
Backport of 7bb741d787ba360a9f0d490db92e22e0d28204ed from main
2023-02-10 19:07:24 +01:00
p0lygun
aaacf72c4c
[4.2.x] Fixed #34324 -- Mentioned Discord server in contributing index.
...
Backport of 358792486e3afd83250364ebc15060820a8a96cc from main
2023-02-10 06:21:04 +01:00
Willem Van Onsem
7a88b1f5aa
[4.2.x] Fixed #34311 -- Updated serialization docs from unique_together to UniqueConstraint.
...
Backport of 292aacaf6c3d6956ca2c51c41e36dbf425389346 from main
2023-02-09 05:56:31 +01:00
Carlton Gibson
efe16fd72a
[4.2.x] Added missing vars to AdminSite.each_context() docs.
...
Backport of 1964e4367f293336b47e30af6e10a5eca5fdfb35 from main
2023-02-08 18:00:37 +01:00
Mariusz Felisiak
836ae73a89
[4.2.x] Fixed #34319 -- Fixed Model.validate_constraints() crash on ValidationError with no code.
...
Thanks Mateusz Kurowski for the report.
Regression in 667105877e6723c6985399803a364848891513cc.
Backport of 2fd755b361d3da2cd0440fc9839feb2bb69b027b from main
2023-02-08 16:39:53 +01:00
Tim Schilling
757c456d23
[4.2.x] Fixed #34146 -- Added 3rd-party lib tutorial step.
...
Added a tutorial step that highlights Django Debug Toolbar, on of the
most common third party packages. It also added a mention of
djangopackages.com as a place to search for other libraries and a
link to Adam Johnson’s post on evaluating whether a package is
well-maintained.
Third-party packages are one of Django’s strengths. This should give
folks a sound route in.
Backport of 7715c9fef55c8775608cdb64d5666c7f90ada937 and
1df7814e4b76211a13eaecd77a05137006b82723 from main
2023-02-07 20:22:11 +01:00
Carlton Gibson
600b88db4c
[4.2.x] Added stub release notes for 4.0.10 and 3.2.18.
...
Set date for 4.1.7 release.
Backport of 7e003428f96d616c1f77fed84882a95e63bc3644 from main
2023-02-07 10:10:22 +01:00
Marcelo Galigniana
9306a8d18f
[4.2.x] Fixed #34310 -- Added deletion example to one-to-one topic.
...
Backport of 7c6195ef81075b03a704431b5d08ec597e8573f7 from main
2023-02-07 08:05:17 +01:00
Mariusz Felisiak
9a1848f48c
[4.2.x] Increased the default PBKDF2 iterations for Django 4.2.
...
See https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2 .
Thanks Markus Holtermann for the report.
2023-02-04 13:36:06 +01:00