mirror of
https://github.com/Hopiu/django.git
synced 2026-04-04 23:30:26 +00:00
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. |
||
|---|---|---|
| .. | ||
| bin | ||
| conf | ||
| contrib | ||
| core | ||
| db | ||
| dispatch | ||
| forms | ||
| http | ||
| middleware | ||
| shortcuts | ||
| template | ||
| templatetags | ||
| test | ||
| utils | ||
| views | ||
| __init__.py | ||