aa22cbd51a
There were a couple of places which used Query.join() directly. By using setup_joins() in these places the code is more DRY, and in addition there is no need to directly call field.get_joining_columns() unless the field is the given join_field from get_path_info(). This makes it easier to make sure a ForeignObject subclass generates joins correctly in all cases. |
||
---|---|---|
.. | ||
__init__.py | ||
aggregates.py | ||
compiler.py | ||
constants.py | ||
datastructures.py | ||
expressions.py | ||
query.py | ||
subqueries.py | ||
where.py |