Changes between Version 2 and Version 3 of Ticket #34013, comment 4


Ignore:
Timestamp:
Sep 18, 2022, 3:07:33 PM (2 years ago)
Author:
Aman Pandey

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34013, comment 4

    v2 v3  
    44
    55so the main error occurs when order_by gets a lookup expression "__" with double underscore , and by default it looks for an in relationship model's field which is populated by model's info but JSONField returned by JSONObject is not populated .thus throwing an error .
     6
     7so ordey_by takes "__ " look up for models in relationship , that is what the syntax is meant for , it never meant to support this syntax for json elements
     8so should i close the ticket or try to work on it and change the status to feature
Back to Top