• Anssi Kääriäinen's avatar
    Fixed #17485 -- Made defer work with select_related · b6c356b7
    Anssi Kääriäinen yazdı
    This commit tackles a couple of issues. First, in certain cases there
    were some mixups if field.attname or field.name should be deferred.
    Field.attname is now always used.
    
    Another issue tackled is a case where field is both deferred by
    .only(), and selected by select_related. This case is now an error.
    
    A lot of thanks to koniiiik (Michal Petrucha) for the patch, and
    to Andrei Antoukh for review.
    b6c356b7
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...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS 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...