• 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
..
__init__.py Loading commit data...
models.py Loading commit data...
tests.py Loading commit data...