Mariusz Felisiak
229360d7ad
Fixed test_relational_post_delete_signals_happen_before_parent_object when run in isolation.
2022-09-16 11:14:27 +02:00
Allen Jonathan David
10178197d5
Fixed #33966 -- Added support for using KeyTextTransform from lookup.
2022-09-16 05:36:57 +02:00
Simon Charette
3ba7f2e906
Refs #28333 -- Explicitly ordered outer qualify query on window filtering.
...
While most backends will propagate derived table ordering as long as
the outer query doesn't perform additional processing the SQL specs
doesn't explicitly state the ordering must be maintained.
2022-09-15 19:27:32 +02:00
Jay Patel
a69b0e9cfe
Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in admin base template.
2022-09-15 14:33:41 +02:00
Youngkwang Yang
cd11664066
Changed camel case variable to snake case in contrib.admin/auth.
2022-09-15 13:26:55 +02:00
Mariusz Felisiak
8c8d100c29
Used first-interaction for GitHub action with welcome message.
2022-09-15 12:18:44 +02:00
Pamela Fox
8e93fc561e
Described Article-Reporter relationship in many-to-one topic.
2022-09-15 10:15:50 +02:00
Anvesh Mishra
6220c445c4
Fixed #29186 -- Fixed pickling HttpRequest and subclasses.
2022-09-14 13:04:34 +02:00
David Sanders
e14d08cd89
Fixed #33996 -- Fixed CheckConstraint validation on NULL values.
...
Bug in 667105877e
.
Thanks James Beith for the report.
2022-09-13 12:48:31 +02:00
Sergey Fursov
b731e88415
Fixed #31335 -- Fixed removing composed composed Meta constraints/indexes on foreign keys on MySQL.
2022-09-13 10:38:57 +02:00
Sergey Fursov
1b08e9bf7d
Refs #31335 -- Added more tests for removing composed Meta constraints/indexes on foreign keys.
2022-09-12 13:52:06 +02:00
Jimmy Angelakos
07ebef566f
Refs #34000 -- Optimized handling None values in numberformat.format().
2022-09-12 13:02:50 +02:00
Jimmy Angelakos
e911e0996f
Fixed #34000 -- Fixed numberformat.format() crash on empty strings.
2022-09-12 12:54:12 +02:00
Sergey Fursov
ec13e801b8
Refs #31335 -- Added SchemaEditor._create_missing_fk_index() on MySQL.
2022-09-12 08:52:18 +02:00
DevilsAutumn
f3cd252cfc
Fixed #33995 -- Fixed FormSet.empty_form crash when empty_permitted is passed to form_kwargs.
2022-09-09 13:51:47 +02:00
Dhanush
6df9398cce
Corrected example of redundant all() in docs.
2022-09-09 13:34:14 +02:00
DevilsAutumn
32797e7fbf
Fixed #33975 -- Fixed __in lookup when rhs is a queryset with annotate() and alias().
...
This fixes clearing selected fields.
2022-09-09 08:37:46 +02:00
Tom Carrick
0c3981eb50
Used CSS flex and <nav> for ModelAdmin.date_hierarchy.
2022-09-08 13:52:36 +02:00
Simon Charette
32536b1324
Fixed #33992 -- Fixed queryset crash when aggregating over a group containing Exists.
...
A more in-depth solution is likely to make sure that we always GROUP BY
selected annotations or revisit how we use Query.exists() in the Exists
expression but that requires extra work that isn't suitable for a
backport.
Regression in e5a92d400a
.
Thanks Fernando Flores Villaça for the report.
2022-09-08 05:50:02 +02:00
Mariusz Felisiak
a2e580acf6
Refs #24179 -- Fixed selenium tests for offset of admin selector boxes in fieldset.
...
Regression in be63c78760
.
2022-09-07 12:02:08 +02:00
Shai Berger
42cd8c390d
Fixed #33986 -- Hardened binary lookup in template commands.
...
Made template commands look up formatters before writing files.
This makes sure files included in the template are not identified
as executable formatter commands, even in case the template is
rendered into the system path (as might easily happen on Windows,
where the current directory is on the system path by default).
While at it, Warned about trusting custom templates for
startapp/startproject.
Thanks Trung Pham of Viettel Cyber Security for reporting the issue,
Django Security Team for discussions, and Adam Johnson and
Carlton Gibson for reviews.
2022-09-07 11:08:43 +02:00
James Beith
19e838daa8
Fixed #33982 -- Fixed migrations crash when adding model with ExclusionConstraint.
...
Regression in 0e656c02fe
.
2022-09-07 08:40:56 +02:00
DevilsAutumn
3a084831e2
Refs #33616 -- Updated BaseDatabaseWrapper.run_on_commit comment.
2022-09-06 20:50:57 +02:00
Deepak Dinesh
982a970251
Fixed #33862 -- Added workflow to run the ASV benchmarks for labeled PR.
2022-09-06 17:58:07 +02:00
SirAbhi13
4a1150b41d
Fixed #33616 -- Allowed registering callbacks that can fail in transaction.on_commit().
...
Thanks David Wobrock and Mariusz Felisiak for reviews.
2022-09-06 12:21:36 +02:00
Gav O'Connor
be63c78760
Fixed #24179 -- Added filtering to selected side of vertical/horizontal filters.
2022-09-06 10:46:58 +02:00
Gav O'Connor
fc220d27c6
Refs #24179 -- Added extra JS tests for admin vertical/horizontal filters.
2022-09-06 10:38:28 +02:00
Mariusz Felisiak
69fa2e8eb2
Refs #26780 -- Made prefetch_related() don't use window expressions fo sliced queries if not supported.
2022-09-06 05:54:35 +02:00
Mark Evans
19e0587ee5
Fixed #33937 -- Optimized serialization of related m2m fields without natural keys.
2022-09-05 20:23:32 +02:00
Mariusz Felisiak
604fadde11
Added stub release notes for 4.1.2.
2022-09-05 06:02:40 +02:00
Mariusz Felisiak
aed92f686d
Added release date for 4.1.1.
2022-09-05 05:21:23 +02:00
Mariusz Felisiak
753602d0c6
Corrected heading level of "Registering and fetching lookups" section in docs.
2022-09-04 14:32:24 +02:00
Allen Jonathan David
cd1afd553f
Fixed #29799 -- Allowed registering lookups per field instances.
...
Thanks Simon Charette and Mariusz Felisiak for reviews and mentoring
this Google Summer of Code 2022 project.
2022-09-02 10:02:24 +02:00
Shai Berger
fdf0f62521
Fixed ReadOnlyPasswordHashWidget's template for RTL languages.
2022-09-01 21:20:15 +02:00
Mariusz Felisiak
974942a750
Fixed #33955 , Fixed #33971 -- Reverted "Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs."
...
This reverts commit 7f3cfaa12b
.
Thanks Tom Carrick and Greg Kaleka for reports.
2022-09-01 21:09:16 +02:00
Allen Jonathan David
e64919ae54
Refs #29799 -- Added more tests for registering lookups.
2022-09-01 09:59:31 +02:00
Mariusz Felisiak
b9705a70f5
Bumped versions in pre-commit and npm configurations.
2022-09-01 09:39:12 +02:00
Mariusz Felisiak
cb06f5ef8c
Reverted "Fixed #30711 -- Doc'd django.contrib.postgres.fields.hstore.KeyTransform()."
...
This reverts commit 7faf25d682
. The same
can be achieved with F() so there is no need to expose an extra API.
2022-08-31 22:12:30 +02:00
Alex Morega
838cc0f449
Fixed #33965 -- Improved file-like object example of ImageField in docs.
...
This uses a valid image.
2022-08-31 12:33:04 +02:00
Swara
12617fbd85
Corrected the direction of arrows in admin selector boxes for RTL languages.
2022-08-31 08:03:39 +02:00
Swara
08303f4f06
Added Central Kurdish (Sorani) language.
2022-08-30 11:56:11 +02:00
Alex Morega
de6c9c7054
Refs #30947 -- Changed tuples to lists where appropriate.
2022-08-30 09:57:17 +02:00
Simon Charette
b3db6c8dcb
Fixed #21204 -- Tracked field deferrals by field instead of models.
...
This ensures field deferral works properly when a model is involved
more than once in the same query with a distinct deferral mask.
2022-08-30 08:43:53 +02:00
Simon Charette
5d12650ed9
Refs #21204 -- Added more QuerySet.defer()/only() tests for invalid fields.
2022-08-30 07:09:15 +02:00
Simon Charette
60613ef516
Merged nested if statements in select_related_descend().
2022-08-30 06:59:55 +02:00
Iván Camilo Triviño López
411a6ec93a
Fixed #33958 -- Added imports to examples in "Expressions can reference transforms" section.
2022-08-30 06:03:53 +02:00
Ilia Peterov
0010721e89
Improved example of index on SearchVector in full text search docs.
2022-08-29 19:28:00 +02:00
Mariusz Felisiak
a9e7beb959
Refs #33953 -- Fixed test_rename_model_with_db_table_rename_m2m() crash on SQLite < 3.20.
2022-08-29 10:07:53 +02:00
Mariusz Felisiak
4483a9b12f
Fixed #33960 -- Fixed migrations crash on SQLite < 3.26.
...
Regression in 0b95a96ee1
.
Thanks Aristotelis Mikropoulos for the report.
2022-08-29 09:55:45 +02:00
Mariusz Felisiak
f210de760b
Refs #28333 -- Fixed NonQueryWindowTests.test_invalid_filter() on databases that don't support window expressions.
2022-08-29 09:14:56 +02:00