diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2025-06-12 09:35:07 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-06-16 10:40:29 +0200 |
| commit | 104cbfd44b9eff010daf0ef0e1ce434385855b13 (patch) | |
| tree | f0d975b1a8e065cb5d0d5c425ba42cd1763e5711 /tests/backends | |
| parent | 12c1557060fc94fe5e1fbddc4578a4e29d38f77c (diff) | |
Fixed #36453 -- Made When.condition resolve with for_save=False.
Value(None, JSONField()) when used in When.condition incorrectly resolved with
for_save=True, resulting in the value being serialized as SQL NULL instead of
JSON null.
Regression in c1fa3fdd040718356e5a3b9a0fe699d73f47a940.
Thanks to Thomas McKay for the report, and to David Sanders and Simon Charettes
for the review.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Diffstat (limited to 'tests/backends')
0 files changed, 0 insertions, 0 deletions
