Changes between Version 2 and Version 3 of Ticket #34013, comment 4
- Timestamp:
- Sep 18, 2022, 3:07:33 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34013, comment 4
v2 v3 4 4 5 5 so 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 7 so 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 8 so should i close the ticket or try to work on it and change the status to feature