#35149: JSONField db_default requires wrapping values in json.dumps()
-------------------------------------+-------------------------------------
Reporter: David Sanders | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: JSONField | Triage Stage: Ready for
db_default | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"914eee1a9bee7ae48e6b23ef905ec00bcc241791" 914eee1]:
{{{#!CommitTicketReference repository=""
revision="914eee1a9bee7ae48e6b23ef905ec00bcc241791"
[5.0.x] Refs #35149 -- Made equivalent db_default alterations noops.
This allows for an easier transition of preserving the literal nature of
non-compilable db_default.
Backport of fe1cb62f5c3f87fafc4a6b52fee2ccc6c80c41e2 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35149#comment:17>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d7462b733-eaabd408-543e-4914-89ca-b662b1073ec6-000000%40eu-central-1.amazonses.com.