#20024: 'exclude' does not work with lists containing a 'None' element.
----------------------------------------------+--------------------
Reporter: stillwater.ke@… | Owner: nobody
Type: Uncategorized | Status: new
Component: Database layer (models, ORM) | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+--------------------
For example,
Entry.objects.exclude(foo_ _in=[None, 1])
It is supposed to return all items whose foo field is not None or 1, but
it actually returns an empty query set.
(Note there is no space between underlines. The layout looks weird when
two underline characters are put together.)
--
Ticket URL: <https://code.djangoproject.com/ticket/20024>
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.