• Anssi Kääriäinen's avatar
    Fixed #23791 -- Corrected object type check for pk__in=qs · 9ed82154
    Anssi Kääriäinen yazdı
    When the pk was a relation field, qs.filter(pk__in=qs) didn't work.
    
    In addition, fixed Restaurant.objects.filter(place=restaurant_instance),
    where place is an OneToOneField and the primary key of Restaurant.
    
    A big thank you to Josh for review and to Tim for review and cosmetic
    edits.
    
    Thanks to Beauhurst for commissioning the work on this ticket.
    9ed82154
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...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc 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...
package.json Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...