1
0
mirror of https://github.com/django/django.git synced 2024-12-27 03:25:58 +00:00
Commit Graph

13182 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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 7bb741d787 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 358792486e 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 292aacaf6c 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 1964e4367f 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 667105877e.
Backport of 2fd755b361 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 7715c9fef5 and
1df7814e4b 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 7e003428f9 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 7c6195ef81 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
Mariusz Felisiak
ba7d8ac37d [4.2.x] Added stub release notes for 4.1.7.
Backport of f3c89744cc from main
2023-02-01 13:22:00 +01:00
Mariusz Felisiak
379b37171b [4.2.x] Added CVE-2023-23969 to security archive.
Backport of 36e3eef7d5 from main
2023-02-01 12:10:03 +01:00
Nick Pope
8a7b22d4a6 [4.2.x] Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Language.
The parsed values of Accept-Language headers are cached in order to
avoid repetitive parsing. This leads to a potential denial-of-service
vector via excessive memory usage if the raw value of Accept-Language
headers is very large.

Accept-Language headers are now limited to a maximum length in order
to avoid this issue.
2023-02-01 09:45:07 +01:00
Durval Carvalho
af396ce3f9 [4.2.x] Fixed #34180 -- Added note about resetting language in test tear-downs.
Co-authored-by: Faris Naimi <farisfaris66@gmail.com>

Backport of 40217d1a82 from main
2023-01-31 07:29:21 +01:00
fschwebel
5159e05e40 [4.2.x] Fixed typo in docs/topics/auth/passwords.txt.
Wrapped hashing is only possible if the inner wrapped function is the
same as the previous hasher.
Backport of 0265b1b49b from main
2023-01-30 08:32:13 +01:00
Mariusz Felisiak
719a14badc [4.2.x] Fixed #34291 -- Fixed Meta.constraints validation crash on UniqueConstraint with ordered expressions.
Thanks Dan F for the report.

Bug in 667105877e.
Backport of 2b1242abb3 from main
2023-01-26 09:32:14 +01:00
Carlton Gibson
d43fbdf6f1 [4.2.x] Adjusted release notes for 4.1.6, 4.0.9, and 3.2.17.
Backport of d8e1442ce2 from main
2023-01-25 12:26:40 +01:00
Carlton Gibson
50432e3fd5 [4.2.x] Set date and added stub release notes for 4.1.6, 4.0.9, and 3.2.17.
Backport of 1df963ad24 from main
2023-01-25 11:58:35 +01:00
noFFENSE
fa52bb7774 [4.2.x] Fixed #34242 -- Doc'd that primary key is set to None when deleting objects.
Backport of 5cd1385356 from main
2023-01-20 10:57:30 +01:00
John Whitlock
a3771c8229 [4.2.x] Fixed typo in docs/releases/4.2.txt.
Backport of d547171183 from main
2023-01-17 19:28:19 +01:00
Mariusz Felisiak
1452e7cb7f [4.2.x] Doc'd that 4.2 is LTS.
Backport of 2785e121c7 from main
2023-01-17 19:25:44 +01:00
Mariusz Felisiak
2cbb3c9135 [4.2.x] Removed remaining empty sections from 4.2 release notes.
Follow up to 772cd2b15b.
Backport of a209f66259 from main
2023-01-17 14:05:51 +01:00
Sébastien Corbin
57680658f3 [4.2.x] Fixed #34264 -- Moved release note about session cookies into error reporting section.
Backport of e2964fed17 from main
2023-01-17 13:09:47 +01:00
Mariusz Felisiak
81818cc555 [4.2.x] Bumped django_next_version in docs config. 2023-01-17 08:54:30 +01:00
Mariusz Felisiak
9409312eef Updated man page for Django 4.2 alpha. 2023-01-17 08:51:17 +01:00
Mariusz Felisiak
e734cccea0 Made cosmetic edits to docs/releases/4.2.txt. 2023-01-17 08:51:17 +01:00
Mariusz Felisiak
772cd2b15b Removed empty sections from 4.2 release notes. 2023-01-17 08:51:17 +01:00
Mariusz Felisiak
0e2649fdf4 Fixed #34255 -- Made PostgreSQL backend use client-side parameters binding with psycopg version 3.
Thanks Guillaume Andreu Sabater for the report.

Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
2023-01-17 08:24:08 +01:00
Mariusz Felisiak
c8a76059ff Refs #34255 -- Bumped required psycopg version to 3.1.8. 2023-01-17 08:24:08 +01:00
sarahboyce
0fbdb9784d Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
Co-authored-by: Christian Bundy <me@christianbundy.com>
2023-01-16 09:31:34 +01:00