• Anssi Kääriäinen's avatar
    Fixed #20583 -- ORM always uses setup_joins() for join generation · aa22cbd5
    Anssi Kääriäinen yazdı
    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.
    aa22cbd5
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...