mirror of
https://github.com/django/django.git
synced 2025-03-16 04:10:45 +00:00
Accessing generated field values on unsaved models caused a crash when validating CheckConstraints and UniqueConstraints with expressions. Backport of 1005c2abd1ef0c156f449641e38c33e473989d37 from main.
17 lines
487 B
Plaintext
17 lines
487 B
Plaintext
==========================
|
|
Django 5.0.7 release notes
|
|
==========================
|
|
|
|
*July 9, 2024*
|
|
|
|
Django 5.0.7 fixes two security issues with severity "moderate", two security
|
|
issues with severity "low", and several bugs in 5.0.6.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a bug in Django 5.0 that caused a crash of ``Model.full_clean()`` on
|
|
unsaved model instances with a ``GeneratedField`` and certain defined
|
|
:attr:`Meta.constraints <django.db.models.Options.constraints>`
|
|
(:ticket:`35560`).
|