Changes between Initial Version and Version 1 of Ticket #29049, comment 22
- Timestamp:
- Nov 18, 2022, 3:36:09 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29049, comment 22
initial v1 1 1 I have been reading up about this issue to continue and finish it off from where David left it, and I have some doubts. The SQL query left by Felix [https://github.com/django/django/pull/14731#discussion_r745505740 in this comment] also doesn't generate any QuerySet or objects. I tried to run that query using `Manager.raw()`, which generated no results. 2 2 3 Further I investigated the `resolve_expression` method of `SliceableF` class in `django/db/models/expressions.py`, and compared it to other implementations of reso vle_expression method in other classes but couldn't find anything concrete which might point to where the error might be.3 Further I investigated the `resolve_expression` method of `SliceableF` class in `django/db/models/expressions.py`, and compared it to other implementations of resolve_expression method in other classes but couldn't find anything concrete which might point to where the error might be. 4 4 5 5 Does a special method for handling slicing and indexing for OuterRef query need to be written so it is properly resolved? That is what I'm thinking because I can't find anything else that is properly handling slicing for OuterRef Queries, unless I'm missing something.