summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2023-12-04[5.0.x] Bumped version for 5.0 release.5.0Natalia
2023-12-04[5.0.x] Updated translations from Transifex.Natalia
2023-12-03[5.0.x] Fixed #35002 -- Made UniqueConstraints with fields respect ↵Peter Thomassen
nulls_distinct. Regression in 595a2abb58e04caa4d55fb2589bb80fb2a8fdfa1. Backport of 54cb1a7e160089cea438f50fdb70aaaf6823786e from main
2023-12-01[5.0.x] Fixed #35001 -- Fixed position of related widget action icons in ↵Tom Carrick
admin for some screen sizes. Backport of dec8aa68f6a2729e57a58c36a21d36daa9a99fed from main
2023-11-30[5.0.x] Fixed #34995 -- Improved position of related widget's add link on ↵Tom Carrick
admin pages on small screens. Regression in 1699f8b52ac15f687cc39088401c2641022c71cd. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com> Backport of 999ba9db6d6331eaa58af77debba42754bcc1a8e from main
2023-11-30[5.0.x] Fixed #35006 -- Fixed migrations crash when altering ↵Mariusz Felisiak
Meta.db_table_comment on SQLite. Thanks Юрий for the report. Regression in 78f163a4fb3937aca2e71786fbdd51a0ef39629e. Backport of 37fc832a54ad37e75a898a2c8f9ab0820617c4af from main
2023-11-28[5.0.x] Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting.Mariusz Felisiak
This allows early adoption of the new default "https". Backport of a4931cd75a1780923b02e43475ba5447df3adb31 from main.
2023-11-27[5.0.x] Fixed #34982 -- Fixed admin's read-only password widget and help ↵Tom Carrick
texts alignment for tablet screen size. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Backport of 729266c6f29c7a0677b24926a86a767ef3078b26 from main
2023-11-27[5.0.x] Fixed #34992 -- Fixed DatabaseFeatures.allows_group_by_selected_pks ↵Nathaniel Conroy
on MariaDB with ONLY_FULL_GROUP_BY sql mode. Regression in 041551d716b69ee7c81199eee86a2d10a72e15ab. Backport of 0257426fe1fe9d146fd5813f09d909917ff59360 from main
2023-11-23[5.0.x] Fixed #34994 -- Fixed checkbox layout in admin's change page for ↵Tom Carrick
narrow screen widths. Regression in d687febce5868545f99974d2499a91f81a32fef5. Backport of a89c715c3bcf7ab1a90747cf8658ebce6304b6e4 from main
2023-11-23[5.0.x] Fixed #34991 -- Fixed pagination links and input layout in admin's ↵Tom Carrick
change list page when using list_editable. Regression in b4817d20b9e55df30be0b1b2ca8c8bb6d61aab07. Thanks Tom Carrick for the report and fix. Backport of 4eb9c3d90aff55182151b6be0122f7d0b28832fd from main
2023-11-23[5.0.x] Fixed #34987 -- Fixed queryset crash when mixing aggregate and ↵Simon Charette
window annotations. Regression in f387d024fc75569d2a4a338bfda76cc2f328f627. Just like `OrderByList` the `ExpressionList` expression used to wrap `Window.partition_by` must implement `get_group_by_cols` to ensure the necessary grouping when mixing window expressions with aggregate annotations is performed against the partition members and not the partition expression itself. This is necessary because while `partition_by` is implemented as a source expression of `Window` it's actually a fragment of the WINDOW expression at the SQL level and thus it should result in a group by its members and not the sum of them. Thanks ElRoberto538 for the report. Backport of e76cc93b0168fa3abbafb9af1ab4535814b751f0 from main
2023-11-22[5.0.x] Fixed #34985 -- Fixed GeneratedFields.contribute_to_class() crash ↵Mariusz Felisiak
when apps are not populated. Thanks Paolo Melchiorre for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. Backport of 101a85a5a06585ba16ecb25860146d034a8a55ec from main
2023-11-22[5.0.x] Fixed #34984 -- Skipped GeneratedFields when remaking tables on SQLite.Sarah Boyce
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.t Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> Backport of 828082dad954e87d09a99b53424e6faa1860ccc7 from main
2023-11-20[5.0.x] Bumped version for 5.0 release candidate 1.5.0rc1Natalia Bidart
2023-11-18[5.0.x] Fixed #34975 -- Fixed crash of conditional aggregate() over ↵Simon Charette
aggregations. Adjustments made to solve_lookup_type to defer the resolving of references for summarized aggregates failed to account for similar requirements for lookup values which can also reference annotations through Aggregate.filter. Regression in b181cae2e3697b2e53b5b67ac67e59f3b05a6f0d. Refs #25307. Thanks Sergey Nesterenko for the report. Backport of 7530cf3900ab98104edcde69e8a2a415e82b345a from main
2023-11-16[5.0.x] Refs #32819 -- Used auto_id instead of id_for_label as unique ↵David Smith
identifier for the field. `id_for_label` is blank for widgets with multiple inputs such as radios and multiple checkboxes. Therefore , `help_text` for fields using these widgets cannot currently be associated using `aria-describedby`. `id_for_label` is being used as a guard to avoid incorrectly adding `aria-describedby` to those widgets. This change uses `auto_id` as the unique identified for the fields `help_text`. A guard is added to avoid incorrectly adding `aria-describedby` to inputs by checking the widget's `use_fieldset` attribute. Fields rendered in a `<fieldset>` should have `aria-describedby` added to the `<fieldset>` and not every `<input>`. Backport of 292f1ea90f90ff140617299a25884c8fda24aa64 from main
2023-11-14[5.0.x] Refs #34944 -- Propagated system checks for GeneratedField.output_field.Mariusz Felisiak
Backport of c705625ebff0141ed2b95dd3c8174bda8270a47f from main
2023-11-14[5.0.x] Fixed #34944 -- Made GeneratedField.output_field required.Mariusz Felisiak
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. Backport of 5875f03ce61b85dfd9ad34f7b871c231c358d432 from main
2023-11-14[5.0.x] Reverted "Refs #30446, Refs #34944 -- Fixed crash when adding ↵Mariusz Felisiak
GeneratedField with string Value()." This reverts commit 8b1acc0440418ac8f45ba48e2dfcf5126c83341b. Backport of de4884b114534f43c49cf8c5b7f10181e737f4e9 from main
2023-11-09[5.0.x] Fixed #34457 -- Restored output for makemigrations --check.Adam Johnson
Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Backport of f7389c4b07ceeb036436e065898e411b247bca78 from main
2023-11-08[5.0.x] Refs #30446, Refs #34944 -- Fixed crash when adding GeneratedField ↵Simon Charette
with string Value(). This should allow smarter output_field inferring in functions dealing with text expressions. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. Backport of 8b1acc0440418ac8f45ba48e2dfcf5126c83341b from main
2023-11-07[5.0.x] Fixed #34946 -- Preserved db_default on combined default field addition.Simon Charette
Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3. Backport of 8a28e983df091d94eaba77cb82fbe3ef60a80799 from main
2023-11-03[5.0.x] Fixed #34941 -- Fixed fetching decimal db_defaults for DecimalFields ↵Mariusz Felisiak
on Oracle. This is a long standing bug in bc91f27a86090b4c688b56cd4e37f95eebe6e969 that began manifesting in 7414704e88d73dafbcfbb85f9bc54cb6111439d3. Backport of 656192c2c96bb955a399d92f381e38fe2254fe17 from main
2023-11-03[5.0.x] Refs #34941 -- Skipped ↵Mariusz Felisiak
OperationTests.test_alter_field_change_nullable_to_decimal_database_default_not_null on Oracle. Backport of 7a09ba0962e0eaf4ad396475b392ba3234bf60ee from main
2023-11-02[5.0.x] Fixed #34936 -- Fixed migration crash for DecimalField with ↵David Sanders
db_default on SQLite. CAST() must be wrapped in parentheses to be recognized as an expression on SQLite. Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3. Backport of 797957fb48f63760442d3d4c8985fd94f8602d5e from main
2023-11-02[5.0.x] Refs #31300 -- Allowed testing GeneratedField without collation.Tim Graham
CockroachDB and Snowflake don't support it. Backport of 208870b6122c4cbc39c3b2432e13db54c920db51 from main
2023-11-01[5.0.x] Fixed CVE-2023-46695 -- Fixed potential DoS in UsernameField on Windows.Mariusz Felisiak
Thanks MProgrammer (https://hackerone.com/mprogrammer) for the report.
2023-10-30[5.0.x] Fixed #34932 -- Restored varchar_pattern_ops/text_pattern_ops index ↵Tom Carrick
creation when deterministic collaction is set. Regression in f3f9d03edf17ccfa17263c7efa0b1350d1ac9278 (4.2) and 8ed25d65ea7546fafd808086fa07e7e5bb5428fc (5.0). Backport of 34b411762b50883d768d7b67e0a158ec39da8b09 from main
2023-10-24[5.0.x] Fixed #34923 -- Avoided initializing LEVEL_TAGS when importing ↵Mariusz Felisiak
django.contrib.messages. Regression in b7fe36ad37fb18c4bc7932c0aec6ae4f299b9622. Thanks James Gillard for the report. Backport of 311718feb5f1fb9ff794bbac0cda48cfc3410de8 from main
2023-10-23[5.0.x] Bumped version for 5.0 beta 1.5.0b1Natalia
2023-10-23[5.0.x] Fixed #34899 -- Added blank choice to forms' callable choices lazily.Nick Pope
Backport of 171f91d9ef5177850c2f12b26dd732785f6ac034 from main
2023-10-23[5.0.x] Refs #34899 -- Extracted Field.flatchoices to flatten_choices helper ↵Nick Pope
function. Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com> Backport of 74afcee234f8be989623ccc7c28b9fb97fb548f0 from main
2023-10-23[5.0.x] Refs #31262 -- Added __eq__() and __getitem__() to BaseChoiceIterator.Nick Pope
This makes it easier to work with lazy iterators used for callables, etc. when extracting items or comparing to lists, e.g. during testing. Also added `BaseChoiceIterator.__iter__()` to make it clear that subclasses must implement this and added `__all__` to the module. Co-authored-by: Adam Johnson <me@adamj.eu> Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com> Backport of 07fa79ef2bb3e8cace7bd87b292c6c85230eed05 from main
2023-10-23[5.0.x] Fixed #34903, Refs #34825 -- Made workers initialization respect ↵David Sanders
empty set of used connections. Thanks to David Smith for the investigation & patch. Regression in 2128a73713735fb794ca6565fd5d7792293f5cfa. Follow up to a5905b164dbf52e59fa646af9c3d523c0804d86a. Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> Backport of 68d0159b6dfce07f144045d56639c52066e8b90e from main
2023-10-22[5.0.x] Fixed #34921 -- Fixed crash of warning for unbound naive datetimes.David Sanders
Backport of b5311ee23219cfb676e2e67667ecba1e5d363aa0 from main
2023-10-21[5.0.x] Fixed #34912 -- Fixed size of back links and bookmarklet help in ↵Chris Frisina
admindocs pages. Backport of be8b25def45bda2e9d1b63e67a80362832bcf45d from main
2023-10-20[5.0.x] Fixed #34911 -- Corrected HTML heading levels on admindocs' main page.laserhyena
Backport of 21382e2743d06efbf5623e7c9b6dccf2a325669b from main
2023-10-19[5.0.x] Fixed #34905 -- Corrected admin's main content element rendered in ↵ontowhee
<main> tag. Regression in 91e617c743b21a0ebad01f18623a8b31f6f58500. Thanks Tom Carrick for the report. Backport of 89d2ae257bfdbe6f32c4671d97bf572623992ace from main
2023-10-16[5.0.x] Fixed #34798 -- Fixed QuerySet.aggregate() crash when referencing ↵Simon Charette
expressions containing subqueries. Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7, complements e5c844d6f2a4ac6ae674d741b5f1fa2a688cedf4. Refs #28477, #34551. Thanks Haldun Komsuoglu for the report. Backport of 3b4a571275d967512866012955eb0b3ae486d63c from main
2023-10-11[5.0.x] Fixed #12241 -- Preserved query strings when using "Save and ↵Mariana
continue/add another" in admin. Co-authored-by: Grady Yu <gradyy@users.noreply.github.com> Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> Co-authored-by: Matthew Newton <matthewn@berkeley.edu> Backport of fc62e17778dad9eab9e507d90d85a33d415f64a7 from main
2023-10-10[5.0.x] Refs #26029 -- Improved get_storage_class() deprecation warning with ↵Carlton Gibson
stacklevel=2. Addition of the `stacklevel` argument shows the source of the deprecated call, making updating the client code simpler.
2023-10-06[5.0.x] Fixed #34889 -- Fixed get_prefetch_queryset() fallback in ↵Mariusz Felisiak
prefetch_one_level(). Thanks Matt Westcott for the report. Regression in cac94dd8aa2fb49cd2e06b5b37cf039257284bb0. Backport of 296b75a3c0309a936a6c07d8f711f722e3b96e63 from main
2023-10-06[5.0.x] Fixed #34882 -- Fixed no options in AsGeoJSON() for geometries in ↵Denis Rouzaud
non-default CRS. Backport of 96e7a752b6c44a84e18d82d37524c1df64b32e12 from main
2023-10-04[5.0.x] Refs #33482 -- Fixed QuerySet selecting and filtering againts ↵Simon Charette
Exists() with empty queryset. Thanks Tobias Bengfort for the report. Backport of ea596a52d9f905596cc5335930c8f2ac4511204c from main
2023-10-04[5.0.x] Fixed CVE-2023-43665 -- Mitigated potential DoS in ↵Natalia
django.utils.text.Truncator when truncating HTML text. Thanks Wenchao Li of Alibaba Group for the report.
2023-10-02[5.0.x] Fixed #32602 -- Clarified wording of TestCase class.faishalmanzar
Backport of f4e72e6523e6968d9628dfbff914ab57dbf19e6b from main
2023-09-29[5.0.x] Fixed #34878 -- Fixed autoreloader crash when FORM_RENDERER is set ↵Dan Jacob
to TemplatesSetting. Regression in 439242c5943e16dd5a3a68fadac76e5e723eb323. Backport of fe835c2355072fc2b7a0fbbc57d05477c7ee6ce9 from main
2023-09-28[5.0.x] Fixed #34877 -- Fixed migrations crash when adding GeneratedField ↵Paolo Melchiorre
with output_field with params. Backport of e7e8eb44a30bcab004a582760752b5eb3fcd6e91 from main
2023-09-25[5.0.x] Fixed #34825 -- Avoided setting unused connections when initializing ↵David Sanders
parallel workers. Backport of a5905b164dbf52e59fa646af9c3d523c0804d86a from main