Extends support of these 'transformative' field lookups to values() and values_list(), which currently throw difficult-to-understand AttributeError exceptions when such expressions are encountered (due to being entirely reliant on get_model_field() and extract_field_value()).
Introduces a clearer logical separation between 'comparisson' and 'field transformation' expressions, and how they are handled.
These PR offers the following benefits/fixes:
values()
andvalues_list()
, which currently throw difficult-to-understandAttributeError
exceptions when such expressions are encountered (due to being entirely reliant onget_model_field()
andextract_field_value()
).