• Anssi Kääriäinen's avatar
    Fixed #19500 -- Solved a regression in join reuse · 3dcd435a
    Anssi Kääriäinen yazdı
    The ORM didn't reuse joins for direct foreign key traversals when using
    chained filters. For example:
        qs.filter(fk__somefield=1).filter(fk__somefield=2))
    produced two joins.
    
    As a bonus, reverse onetoone filters can now reuse joins correctly
    
    The regression was caused by the join() method refactor in commit
    68847135
    
    Thanks for Simon Charette for spotting some issues with the first draft
    of the patch.
    3dcd435a
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...