1
0
mirror of https://github.com/django/django.git synced 2025-01-15 21:02:52 +00:00

7 Commits

Author SHA1 Message Date
Natalia
e4a064429e [5.0.x] Added release date for 5.0.4.
Backport of 81da153e5f001a418cce06fd06694ab8452c7db9 from main
2024-04-03 11:15:32 -03:00
Simon Charette
fead2dd523 [5.0.x] Fixed #35336 -- Addressed crash when adding a GeneratedField with % literals.
A longer term solution is likely to have a better separation of parametrized
DDL altogether to handle checks, constraints, defaults, and generated fields
but such a change would require a significant refactor that isn't suitable
for a backport.

Thanks Adrian Garcia for the report.

Backport of 888b9042b3598bab6557c62de82505eec9ea62ed from main
2024-04-02 17:34:38 -03:00
Johannes Westphal
14ab15d69a [5.0.x] Fixed #35344, Refs #34838 -- Corrected output_field of resolved columns for GeneratedFields in aliased tables.
Thanks Simon Charette for the review.

Backport of 5f180216409d75290478c71ddb0ff8a68c91dc16 from main
2024-04-01 22:14:52 -03:00
Mariusz Felisiak
345e3cf57f [5.0.x] Fixed #35329 -- Fixed migrations crash when adding partial unique constraints with nulls_distinct.
Bug in 595a2abb58e04caa4d55fb2589bb80fb2a8fdfa1.

Thanks Lucas Lemke Saunitti for the report.
Backport of b98271a6e42107233311d17f5d7bc74fbb47f22c from main
2024-03-26 22:59:23 +01:00
Johannes Maron
8fd953f28a [5.0.x] Fixed #35273 -- Fixed rendering AdminFileWidget's attributes.
Regression in 8a6c0203c4e92908c2b26ba54feba4ce7e76d081.

Backport of e69019555d683fd6a831f87cb09e3deb86e4e7c7 from main
2024-03-14 20:37:53 +01:00
Ben Cail
5f07460a67 [5.0.x] Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when validating empty values.
Thanks Brian Ibbotson for the report.

Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.

Backport of 1570ef02f34037d32218d463342592debccf915c from main.
2024-03-08 06:46:40 +01:00
Mariusz Felisiak
b5acf10638 [5.0.x] Added stub release notes for 5.0.4.
Backport of 337e37f3bb7bc2fe4f2bcfc5f9586e4f36da72e3 from main
2024-03-04 11:21:02 +01:00