diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-06-15 20:31:46 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2013-06-16 15:44:52 +0300 |
| commit | aa22cbd51aa6cb35fc658dd704948a18b27d1981 (patch) | |
| tree | b4e8c323d274b7d67a8cacf5e1972eda60390b5a /docs | |
| parent | b3532f7df950d07d92c231fa60a13675111208ea (diff) | |
Fixed #20583 -- ORM always uses setup_joins() for join generation
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.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
