• Anssi Kääriäinen's avatar
    Simplified QuerySet field.null handling · 5aa51fa9
    Anssi Kääriäinen yazdı
    QuerySet had previously some complex logic for dealing with nullable
    fields in negated add_filter() calls. It seems the logic is leftover
    from a time where the WhereNode wasn't as intelligent in handling
    field__in=[] conditions.
    
    Thanks to aaugustin for comments on the patch.
    5aa51fa9
models.py 8.95 KB