Opened 3 years ago

Last modified 3 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 Austin Hunt)

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 Austin Hunt, 3 years ago

Cc: Austin Hunt added
Has patch: set

comment:2 by Austin Hunt, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top