#32730: jsonify() method for Q class in django.db.models.query_utils
-------------------------------------+-------------------------------------
Reporter: Austin Hunt | Owner: Austin
| Hunt
Type: New feature | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: query_utils, | Triage Stage:
jsonify, Q | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: assigned => closed
* resolution: => wontfix
Comment:
I agree with Tim. `Q()` is already deconstructible and pickleable so you
can use `pickle` to save and reuse existing `Q()` objects. I think that
support for editing `Q` objects by users is quite niche and it's not worth
the extra complexity. It sounds like a third-party package is the best way
to proceed.
--
Ticket URL: <https://code.djangoproject.com/ticket/32730#comment:5>
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/069.b5744f590903a86ef9b6a3aae660ee0c%40djangoproject.com.