1
0
mirror of https://github.com/django/django.git synced 2025-04-22 08:14:37 +00:00

31479 Commits

Author SHA1 Message Date
Tim Graham
4b01a4e6f5 [4.2.x] Fixed overindentation of AdminURLFieldWidget.
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
Backport of 080e13a6ef9c896bba0f272c68d7d03696058955 from main
2023-03-29 12:41:13 +02:00
Mariusz Felisiak
f12dc36754 [4.2.x] Fixed -- Fixed filtering by transforms on reverse relations.
Regression in ce6230aa976e8d963226a3956b45a8919215dbd8.
Backport of 996c802229b93fe83c39842e56c6b8668464deaf from main
2023-03-28 21:03:48 +02:00
Mariusz Felisiak
be6a309b1d [4.2.x] Refs -- Added field instance lookups to suggestions in FieldErrors.
Bug in cd1afd553f9c175ebccfc0f50e72b43b9604bd97.
Backport of 3afdc9e9b47d5bdd1bd653633b4cb2357478ade5 from main
2023-03-28 19:19:30 +02:00
Gary Jarrel
99ba5b43f0 [4.2.x] Fixed -- Reallowed extending UserCreationForm.
Regression in 298d02a77a69321af8c0023df3250663e9d1362d.

Backport of fcc7dc5781667932bf0bf8bec76df458836e5e95 from main
2023-03-28 12:48:25 +02:00
Tom Carrick
788f7b8100 [4.2.x] Fixed -- Fixed layout of admin fieldsets with multiple fields on the same line.
Thanks Antonio Candido Nazareth junior for the report.

Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of d687febce5868545f99974d2499a91f81a32fef5 from main
2023-03-28 05:35:28 +02:00
Mariusz Felisiak
ded3334af6 [4.2.x] Refs -- Fixed layout of admin password change forms and help texts for RTL languages.
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.

Follow up to e67804668115fd388e7554c6a809bd409f70adfe and
39d1e45227e060746ed461fddde80fa2b6cf0dcd.
Backport of f5c5c571d3b87a78d005ea6f21959388d1747696 from main
2023-03-24 20:49:05 +01: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
Mariusz Felisiak
b85dd83194 [4.2.x] Refs -- Fixed displaying error lists in admin password change forms on small screens.
Follow up to e67804668115fd388e7554c6a809bd409f70adfe.
Backport of 39d1e45227e060746ed461fddde80fa2b6cf0dcd from main
2023-03-23 10:44:27 +01:00
Mariusz Felisiak
12561b7021 [4.2.x] Refs -- Restored alignment for admin split-field timezone warnings for RTL languages.
Regression in f3e2bb0833105f43efc0cc6f19c8465bc1b1a785.
Backport of 73ae8545ae620469550f1adcfe63fb9b9e4f3eb3 from main
2023-03-23 10:33:25 +01:00
Jesper Olsson
b0b769769e [4.2.x] Fixed -- 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
Carlton Gibson
ae824eceb1 [4.2.x] Fixed -- Made ASGIStaticFilesHandler adapt response to async iterator.
Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830.
Backport of 02c356f2f3945b8075735d485c3cf48cad991011 from main
2023-03-21 20:52:59 +01:00
Mariusz Felisiak
e829b0a239 [4.2.x] Bumped version for 4.2 release candidate 1. 4.2rc1 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 -- 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 -- Clarified how FileResponse set Content-Type header.
Backport of fc266b694b9129e44b597d8a56927ee13fdac358 from main
2023-03-16 08:31:23 +01:00
Mariusz Felisiak
69a3890c2a [4.2.x] Refs -- Bumped required version of sqlparse in setup.cfg.
Follow up to 63d1cb0092f8933a92f471c5150d61140f33882c.

Backport of fbe850106b2e4b85f838219cb9e1df95fba6c164 from main.
2023-03-13 12:09:43 +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 -- 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 -- 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 -- 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
Dmitriy Sintsov
b9d89d74f7 [4.2.x] Fixed -- Made SMTP backend load default system root CA certificates by default.
Regression in 2848e5d0ce5cf3c31fe87525536093b21d570f69.

Backport of c914d6cff176ae6bfab2f33a84bcfd45208f1894 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 ef00d6ef8846c6b17d41ce46fa3798313e0c5b66 from main
2023-03-01 14:59:24 +01:00
Heath Henley
125abb7cab [4.2.x] Fixed -- 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
Mariusz Felisiak
fec487f968 [4.2.x] Ignored 62510f01e76ad0526c94ea6d1bc6399c1ddf3df4 formatting changes in git blame. 2023-03-01 13:39:28 +01:00
django-bot
62510f01e7 [4.2.x] Fixed -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:39:03 +01:00
Mariusz Felisiak
32f224e359 [4.2.x] Refs -- 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 -- Made minor edits to rst code-blocks.
Backport of 9cf2a5df70051dffcefe21c6b27203e2d5804922 from main
2023-03-01 13:34:13 +01:00
Mariusz Felisiak
de41657724 [4.2.x] Ignored 5bdd6223a24b2bcd0ee32251d6f3ce20e934a1dd formatting changes in git blame. 2023-02-28 12:57:48 +01:00
Joseph Victor Zammit
5bdd6223a2 [4.2.x] Refs -- Corrected rst code-block and various formatting issues in docs.
Backport of ba755ca13123d2691a0926ddb64e5d0a2906a880 from main
2023-02-28 12:54:33 +01:00
Tim Graham
fae76b81ce [4.2.x] Refs -- Added skipIf for a test requiring check constraints.
Backport of 40e88ae8c899bcae3a9520f7a6519dd178185f85 from main
2023-02-28 05:13:22 +01:00
Simon Charette
fc15d11f2e [4.2.x] Fixed -- Made subquery raise NotSupportedError when referencing outer window expression.
Regression in f387d024fc75569d2a4a338bfda76cc2f328f627.

Co-authored-by: Jannis Vajen <jvajen@gmail.com>

Backport of c67ea79aa981ae82595d89f8018a41fcd842e7c9 from main
2023-02-27 09:46:30 +01:00
Simon Charette
872dade29c [4.2.x] Fixed -- Fixed queryset crash on order by aggregation using OrderBy.
Regression in 278881e37619278789942513916acafaa88d26f3 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 b15f162f252610e3b510ade465549769ab4356cf 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 f9fe062de5fc0896d6bbbf3f260b5c44473b3c77 from main
2023-02-24 09:48:54 +01:00
Panagiotis H.M. Issaris
ce69dba000 [4.2.x] Fixed -- Fixed floatformat crash on zero with trailing zeros.
Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124.
Follow up to 4b066bde692078b194709d517b27e55defae787c.
Backport of dcd974698301a38081c141ccba6dcafa5ed2c80e 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 31cd2852cb86197d5f3f5a637184a078ab0615f8 from main
2023-02-22 05:18:03 +01:00
Mariusz Felisiak
6234acb717 [4.2.x] Bumped version for 4.2 beta 1. 4.2b1 2023-02-20 09:35:28 +01:00
Laurens Verhoeven
bb94e1b7db [4.2.x] Fixed -- Fixed FormSet.empty_form crash when deleting extra forms is disabled.
Backport of 6cbc403b8ee7014bd6dae4892d404eedb1d4a50d from main
2023-02-20 09:33:19 +01:00
Simon Charette
aab25a69dd [4.2.x] Fixed -- Ordered selected expressions by position.
Used the same approach as for  by using selected expressions
position to prevent ambiguous aliases in collisions.

Thanks henribru for the report.

Regression in 04518e310d4552ff7595a34f5a7f93487d78a406.

Backport of 278881e37619278789942513916acafaa88d26f3 from main
2023-02-20 06:22:18 +01:00
Simon Charette
312d0f88b4 [4.2.x] Refs -- Added tests for queryset ordered by annotation with nulls_first/nulls_last.
Backport of a6511bc23329f1d3939571ad01d3176f8f6cb786 from main
2023-02-18 16:29:04 +01:00
Stefan Brand
efcc0f25a7 [4.2.x] Fixed -- Fixed SpatialReference.srid for objects without top-level authority.
Backport of eacf6b73d8eace004f840bd9b80c8c671caab9da from main
2023-02-17 19:57:41 +01:00
Stefan Brand
341f33ed15 [4.2.x] Refs -- 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 d77762de038d1ab46cdcda2b7202d36c80956e25 from main
2023-02-17 19:57:34 +01:00
Alexandre Spaeth
610cd06c3f [4.2.x] Fixed , Refs -- Fixed test client handling of async streaming responses.
Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of 52b054824e899db40ba48f908a9a00dadc56cb89 from main
2023-02-17 11:48:59 +01:00
Alexandre Spaeth
1ecbc04624 [4.2.x] Refs -- Added tests for handling sync streaming responses by test client.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of bfb8fda3e69cc6f5c6695ba70117faff51cc25a9 from main
2023-02-17 11:48:53 +01:00
Mariusz Felisiak
e1c74bf458 [4.2.x] Refs , Refs -- Added warning to ManifestStaticFilesStorage docs about paths in comments.
Backport of bae053d497ba8a8de7e4f725973924bfb1885fd2 from main.
2023-02-16 19:20:41 +01:00
nabil-rady
3b09f35558 [4.2.x] Fixed -- Make sure constraints names are obtained from truncated columns names.
Backport of 6bdc3c58b65eb32fd63cd41849f00a17a36b4473 from main
2023-02-15 16:52:31 +01:00