#34013: order_by() crashes with annotated JSONObject fields.
-------------------------------------+-------------------------------------
Reporter: Eugene Morozov | Owner: Aman
| Pandey
Type: Bug | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: orm, json, ordering | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Aman Pandey):
* status: assigned => closed
* resolution: => fixed
Comment:
i was trying to populate the Model and freshly created JSONField with
each other's info like trying to populate JSONField.model with model info
and
model._meta with JSONField info while the execution of annotate->
order_by-> add_ordering ->names_to_path (where lookup is processed ) but
that approach is very naive and making me fall deeper.
--
Ticket URL: <https://code.djangoproject.com/ticket/34013#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/010701835c18ffa3-7177f3f3-25c3-47fe-af6d-d9d91e1f3be0-000000%40eu-central-1.amazonses.com.