Re: [Django] #36440: bulk_update() on JSONField saves JSON null instead of SQL NULL (was: JSON null saved instead of NULL)

4 views
Skip to first unread message

Django

unread,
Jun 5, 2025, 8:45:48 AM6/5/25
to django-...@googlegroups.com
#36440: bulk_update() on JSONField saves JSON null instead of SQL NULL
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Adam
| Johnson
Type: Bug | Status: assigned
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Adam Johnson):

* summary: JSON null saved instead of NULL => bulk_update() on JSONField
saves JSON null instead of SQL NULL

--
Ticket URL: <https://code.djangoproject.com/ticket/36440#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages