#30841: Using __isnull lookup to a non-boolean value doesn't promote join.
-------------------------------------+-------------------------------------
     Reporter:  André Ericson        |                    Owner:  André
                                     |  Ericson
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by André Ericson):

 Maybe adding a note on the documentation? something like: "Although it
 might seem like it will work with non-bool fields, this is not supported
 and can lead to inconsistent behaviours"

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30841#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.0e677faaa4a3fd365e5018f86036578f%40djangoproject.com.

Reply via email to