Changes between Version 2 and Version 3 of Ticket #34871, comment 10


Ignore:
Timestamp:
Feb 22, 2024, 1:19:59 AM (9 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34871, comment 10

    v2 v3  
    99All `UnresolvedLookup` would do in its `resolve_expressions` is [https://github.com/django/django/blob/f835787f714cf000603516188b5516f87aa348b1/django/db/models/sql/query.py#L1496-L1598 what can be found in the trailing part] of `Query.build_filter` today that calls `solve_lookup_type`, `resolve_lookup_value`, and `build_lookup` but it would behave like a normal expression and avoids all the hacks we have in place today that special case `Q` objects.
    1010
    11 Until work towards ^^ can be made the best solution here is to use lookups directly
     11Until work towards ^^ can be made the best solution here is to use lookups directly to palliate the lack of support for unresolved lookups introspection
    1212
    1313{{{#!python
     
    1818        name="unique_active_email",
    1919    )
     20)
    2021}}}
Back to Top