mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
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 inc1fa3fdd04. 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> Backport of104cbfd44bfrom main.