#32483: QuerySet.values()/values_list() with JSONField returns integers instead
of
booleans on SQLite.
-------------------------------------+-------------------------------------
Reporter: Matthew Cornell | Owner: Mariusz
| Felisiak
Type: Bug | Status: assigned
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: jsonfield querying | Triage Stage: Accepted
sqlite |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"5ab1b7bc26b18496b296dc9766fcbdfe7f7a585c" 5ab1b7bc]:
{{{
#!CommitTicketReference repository=""
revision="5ab1b7bc26b18496b296dc9766fcbdfe7f7a585c"
[3.1.x] Refs #32483 -- Doc'd caveat about using JSONField key transforms
to booleans with QuerySet.values()/values_list() on SQLite.
Backport of c6b07627fcb5d1c8d2082714ef5adb63bee6cf4c from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32483#comment:10>
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/072.dae94c72c90c9619e525e0f33bdf8fb3%40djangoproject.com.