django1/django/db
Simon Charette 600628f8f0 Refs -- Adjusted related lookups handling of expression rhs.
Expressions should never be prepared as other Lookup.get_prep_lookup
implementations hint at by returning early on the presence of the
resolve_expression attribute.

The previous solution was only handling lookups against related fields
pointing at AutoFields and would break for foreign keys to other fields.

It was also causing bidirectional coupling between model fields and
expressions which the method level import of OuterRef was a symptom of.
2019-09-02 10:52:36 +02:00
..
backends Fixed -- Allowed boolean expressions in QuerySet.filter() and exclude(). 2019-08-29 09:45:29 +02:00
migrations Simplified AlterModelTable by making it subclass ModelOptionOperation. 2019-08-02 18:19:55 +02:00
models Refs -- Adjusted related lookups handling of expression rhs. 2019-09-02 10:52:36 +02:00
__init__.py Removed an outdated comment on DefaultConnectionProxy. 2019-02-20 11:30:51 -05:00
transaction.py Fixed -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
utils.py Fixed -- Added ASGI handler and coroutine-safety. 2019-06-20 12:29:43 +02:00