Opened 4 years ago
Last modified 4 years ago
#32730 closed New feature
jsonify() method for Q class in django.db.models.query_utils — at Version 2
Reported by: | Austin Hunt | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 3.2 |
Severity: | Normal | Keywords: | query_utils, jsonify, Q |
Cc: | Austin Hunt | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Hi,
I have written a new recursive method along with documentation and testing that allows one to translate a Django Q object representing a complex query into JSON format for the purpose of easily re-using and editing complex queries that have been saved via pickling in a database. I am opening this ticket so that I can reference it in a pull request.
https://github.com/django/django/pull/14369
Thank you,
Austin
Change History (2)
comment:1 by , 4 years ago
Cc: | added |
---|---|
Has patch: | set |
comment:2 by , 4 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Pull request link: https://github.com/django/django/pull/14369